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