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§impl PartialOrd for NativeShader
impl PartialOrd for NativeShader
impl 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)