pub struct NativeProgram(pub NonZeroU32);
Tuple Fields§
§0: NonZeroU32
Trait Implementations§
Source§impl Clone for NativeProgram
impl Clone for NativeProgram
Source§fn clone(&self) -> NativeProgram
fn clone(&self) -> NativeProgram
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 NativeProgram
impl Debug for NativeProgram
Source§impl Hash for NativeProgram
impl Hash for NativeProgram
Source§impl Ord for NativeProgram
impl Ord for NativeProgram
Source§fn cmp(&self, other: &NativeProgram) -> Ordering
fn cmp(&self, other: &NativeProgram) -> 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 NativeProgram
impl PartialEq for NativeProgram
Source§impl PartialOrd for NativeProgram
impl PartialOrd for NativeProgram
impl Copy for NativeProgram
impl Eq for NativeProgram
impl StructuralPartialEq for NativeProgram
Auto Trait Implementations§
impl Freeze for NativeProgram
impl RefUnwindSafe for NativeProgram
impl Send for NativeProgram
impl Sync for NativeProgram
impl Unpin for NativeProgram
impl UnwindSafe for NativeProgram
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
)