Struct glow::NativeSampler
source · pub struct NativeSampler(pub NonZeroU32);
Tuple Fields§
§0: NonZeroU32
Trait Implementations§
source§impl Clone for NativeSampler
impl Clone for NativeSampler
source§fn clone(&self) -> NativeSampler
fn clone(&self) -> NativeSampler
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 NativeSampler
impl Debug for NativeSampler
source§impl Hash for NativeSampler
impl Hash for NativeSampler
source§impl Ord for NativeSampler
impl Ord for NativeSampler
source§fn cmp(&self, other: &NativeSampler) -> Ordering
fn cmp(&self, other: &NativeSampler) -> 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 NativeSampler
impl PartialEq for NativeSampler
source§fn eq(&self, other: &NativeSampler) -> bool
fn eq(&self, other: &NativeSampler) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl PartialOrd for NativeSampler
impl PartialOrd for NativeSampler
source§fn partial_cmp(&self, other: &NativeSampler) -> Option<Ordering>
fn partial_cmp(&self, other: &NativeSampler) -> 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 NativeSampler
impl Eq for NativeSampler
impl StructuralPartialEq for NativeSampler
Auto Trait Implementations§
impl Freeze for NativeSampler
impl RefUnwindSafe for NativeSampler
impl Send for NativeSampler
impl Sync for NativeSampler
impl Unpin for NativeSampler
impl UnwindSafe for NativeSampler
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