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<NativeBuffer> for NativeBuffer
impl PartialEq<NativeBuffer> 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<NativeBuffer> for NativeBuffer
impl PartialOrd<NativeBuffer> 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 more