pub struct MethodCount(pub usize);Expand description
Newtype for method count
Tuple Fields§
§0: usizeTrait Implementations§
Source§impl Clone for MethodCount
impl Clone for MethodCount
Source§fn clone(&self) -> MethodCount
fn clone(&self) -> MethodCount
Returns a duplicate 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 MethodCount
impl Debug for MethodCount
Source§impl<'de> Deserialize<'de> for MethodCount
impl<'de> Deserialize<'de> for MethodCount
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Ord for MethodCount
impl Ord for MethodCount
Source§fn cmp(&self, other: &MethodCount) -> Ordering
fn cmp(&self, other: &MethodCount) -> 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 MethodCount
impl PartialEq for MethodCount
Source§impl PartialOrd for MethodCount
impl PartialOrd for MethodCount
Source§impl Serialize for MethodCount
impl Serialize for MethodCount
impl Copy for MethodCount
impl Eq for MethodCount
impl StructuralPartialEq for MethodCount
Auto Trait Implementations§
impl Freeze for MethodCount
impl RefUnwindSafe for MethodCount
impl Send for MethodCount
impl Sync for MethodCount
impl Unpin for MethodCount
impl UnwindSafe for MethodCount
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