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