pub struct GlElementRange {
pub count: u32,
pub offset: GlElementByteOffset,
}Fields§
§count: u32§offset: GlElementByteOffsetImplementations§
Source§impl GlElementRange
impl GlElementRange
pub const fn from_start(count: u32) -> Self
pub const fn new(count: u32, offset: GlElementByteOffset) -> Self
Trait Implementations§
Source§impl Clone for GlElementRange
impl Clone for GlElementRange
Source§fn clone(&self) -> GlElementRange
fn clone(&self) -> GlElementRange
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 GlElementRange
impl Debug for GlElementRange
Source§impl PartialEq for GlElementRange
impl PartialEq for GlElementRange
Source§fn eq(&self, other: &GlElementRange) -> bool
fn eq(&self, other: &GlElementRange) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for GlElementRange
impl Eq for GlElementRange
impl StructuralPartialEq for GlElementRange
Auto Trait Implementations§
impl Freeze for GlElementRange
impl RefUnwindSafe for GlElementRange
impl Send for GlElementRange
impl Sync for GlElementRange
impl Unpin for GlElementRange
impl UnsafeUnpin for GlElementRange
impl UnwindSafe for GlElementRange
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