Struct glow::native::NativeBuffer
source · pub struct NativeBuffer(pub NonZeroU32);
Tuple Fields§
§0: NonZeroU32
Trait Implementations§
source§impl Clone for NativeBuffer
impl Clone for NativeBuffer
source§fn clone(&self) -> NativeBuffer
fn clone(&self) -> NativeBuffer
Returns a copy of the value. Read more
1.0.0 · 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 NativeBuffer
impl Debug for NativeBuffer
source§impl Hash for NativeBuffer
impl Hash for NativeBuffer
source§impl Ord for NativeBuffer
impl Ord for NativeBuffer
source§fn cmp(&self, other: &NativeBuffer) -> Ordering
fn cmp(&self, other: &NativeBuffer) -> Ordering
1.21.0 · 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 NativeBuffer
impl PartialEq for NativeBuffer
source§fn eq(&self, other: &NativeBuffer) -> bool
fn eq(&self, other: &NativeBuffer) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NativeBuffer
impl PartialOrd for NativeBuffer
source§fn partial_cmp(&self, other: &NativeBuffer) -> Option<Ordering>
fn partial_cmp(&self, other: &NativeBuffer) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for NativeBuffer
impl Eq for NativeBuffer
impl StructuralPartialEq for NativeBuffer
Auto Trait Implementations§
impl Freeze for NativeBuffer
impl RefUnwindSafe for NativeBuffer
impl Send for NativeBuffer
impl Sync for NativeBuffer
impl Unpin for NativeBuffer
impl UnwindSafe for NativeBuffer
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