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