#[repr(transparent)]pub struct CustomKernelIndex(pub usize);Tuple Fields§
§0: usizeImplementations§
Trait Implementations§
Source§impl Clone for CustomKernelIndex
impl Clone for CustomKernelIndex
Source§fn clone(&self) -> CustomKernelIndex
fn clone(&self) -> CustomKernelIndex
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 CustomKernelIndex
impl Debug for CustomKernelIndex
Source§impl Default for CustomKernelIndex
impl Default for CustomKernelIndex
Source§fn default() -> CustomKernelIndex
fn default() -> CustomKernelIndex
Returns the “default value” for a type. Read more
Source§impl From<CustomKernelIndex> for usize
impl From<CustomKernelIndex> for usize
Source§fn from(value: CustomKernelIndex) -> Self
fn from(value: CustomKernelIndex) -> Self
Converts to this type from the input type.
Source§impl From<usize> for CustomKernelIndex
impl From<usize> for CustomKernelIndex
Source§impl Hash for CustomKernelIndex
impl Hash for CustomKernelIndex
Source§impl Ord for CustomKernelIndex
impl Ord for CustomKernelIndex
Source§fn cmp(&self, other: &CustomKernelIndex) -> Ordering
fn cmp(&self, other: &CustomKernelIndex) -> Ordering
1.21.0 (const: unstable) · 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 CustomKernelIndex
impl PartialEq for CustomKernelIndex
Source§fn eq(&self, other: &CustomKernelIndex) -> bool
fn eq(&self, other: &CustomKernelIndex) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for CustomKernelIndex
impl PartialOrd for CustomKernelIndex
impl Copy for CustomKernelIndex
impl Eq for CustomKernelIndex
impl StructuralPartialEq for CustomKernelIndex
Auto Trait Implementations§
impl Freeze for CustomKernelIndex
impl RefUnwindSafe for CustomKernelIndex
impl Send for CustomKernelIndex
impl Sync for CustomKernelIndex
impl Unpin for CustomKernelIndex
impl UnsafeUnpin for CustomKernelIndex
impl UnwindSafe for CustomKernelIndex
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