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