pub struct GlElementByteOffset(/* private fields */);Implementations§
Source§impl GlElementByteOffset
impl GlElementByteOffset
pub const ZERO: Self
pub const fn from_bytes(bytes: usize) -> Self
pub fn from_indices( index_type: GlIndexType, index_count: usize, ) -> Result<Self, String>
Trait Implementations§
Source§impl Clone for GlElementByteOffset
impl Clone for GlElementByteOffset
Source§fn clone(&self) -> GlElementByteOffset
fn clone(&self) -> GlElementByteOffset
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 GlElementByteOffset
impl Debug for GlElementByteOffset
Source§impl Default for GlElementByteOffset
impl Default for GlElementByteOffset
Source§fn default() -> GlElementByteOffset
fn default() -> GlElementByteOffset
Returns the “default value” for a type. Read more
Source§impl Ord for GlElementByteOffset
impl Ord for GlElementByteOffset
Source§fn cmp(&self, other: &GlElementByteOffset) -> Ordering
fn cmp(&self, other: &GlElementByteOffset) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for GlElementByteOffset
impl PartialEq for GlElementByteOffset
Source§fn eq(&self, other: &GlElementByteOffset) -> bool
fn eq(&self, other: &GlElementByteOffset) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for GlElementByteOffset
impl PartialOrd for GlElementByteOffset
impl Copy for GlElementByteOffset
impl Eq for GlElementByteOffset
impl StructuralPartialEq for GlElementByteOffset
Auto Trait Implementations§
impl Freeze for GlElementByteOffset
impl RefUnwindSafe for GlElementByteOffset
impl Send for GlElementByteOffset
impl Sync for GlElementByteOffset
impl Unpin for GlElementByteOffset
impl UnsafeUnpin for GlElementByteOffset
impl UnwindSafe for GlElementByteOffset
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