pub struct GlVertexAttribByteOffset(/* private fields */);Implementations§
Source§impl GlVertexAttribByteOffset
impl GlVertexAttribByteOffset
pub const ZERO: Self
pub const fn from_bytes(bytes: usize) -> Self
pub fn from_f32_count(count: usize) -> Result<Self, String>
Trait Implementations§
Source§impl Clone for GlVertexAttribByteOffset
impl Clone for GlVertexAttribByteOffset
Source§fn clone(&self) -> GlVertexAttribByteOffset
fn clone(&self) -> GlVertexAttribByteOffset
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GlVertexAttribByteOffset
impl Debug for GlVertexAttribByteOffset
Source§impl Default for GlVertexAttribByteOffset
impl Default for GlVertexAttribByteOffset
Source§fn default() -> GlVertexAttribByteOffset
fn default() -> GlVertexAttribByteOffset
Returns the “default value” for a type. Read more
Source§impl PartialEq for GlVertexAttribByteOffset
impl PartialEq for GlVertexAttribByteOffset
Source§fn eq(&self, other: &GlVertexAttribByteOffset) -> bool
fn eq(&self, other: &GlVertexAttribByteOffset) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GlVertexAttribByteOffset
impl Eq for GlVertexAttribByteOffset
impl StructuralPartialEq for GlVertexAttribByteOffset
Auto Trait Implementations§
impl Freeze for GlVertexAttribByteOffset
impl RefUnwindSafe for GlVertexAttribByteOffset
impl Send for GlVertexAttribByteOffset
impl Sync for GlVertexAttribByteOffset
impl Unpin for GlVertexAttribByteOffset
impl UnsafeUnpin for GlVertexAttribByteOffset
impl UnwindSafe for GlVertexAttribByteOffset
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more