diff options
Diffstat (limited to 'opengl-bindings/src/buffer.rs')
| -rw-r--r-- | opengl-bindings/src/buffer.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/opengl-bindings/src/buffer.rs b/opengl-bindings/src/buffer.rs index 5045855..2567aba 100644 --- a/opengl-bindings/src/buffer.rs +++ b/opengl-bindings/src/buffer.rs @@ -6,7 +6,7 @@ use safer_ffi::layout::ReprC; use crate::MaybeCurrentContextWithFns; -#[derive(Debug)] +#[derive(Debug, Clone)] pub struct Buffer<Item: ReprC> { buf: crate::sys::types::GLuint, @@ -242,7 +242,7 @@ impl Usage } } -#[derive(Debug)] +#[derive(Debug, Clone, Copy)] #[repr(u32)] pub enum BindingTarget { |
