pub enum NumberOfTimes {
FirstTime {},
SecondTime {},
ThirdTime {},
}Variants§
Implementations§
Source§impl NumberOfTimes
impl NumberOfTimes
pub fn try_from_span(span: &Span<'_>) -> Option<Self>
Trait Implementations§
Source§impl Clone for NumberOfTimes
impl Clone for NumberOfTimes
Source§fn clone(&self) -> NumberOfTimes
fn clone(&self) -> NumberOfTimes
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 NumberOfTimes
impl Debug for NumberOfTimes
Source§impl<'de> Deserialize<'de> for NumberOfTimes
impl<'de> Deserialize<'de> for NumberOfTimes
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 Hash for NumberOfTimes
impl Hash for NumberOfTimes
Source§impl Idris for NumberOfTimes
impl Idris for NumberOfTimes
Source§impl Ord for NumberOfTimes
impl Ord for NumberOfTimes
Source§fn cmp(&self, other: &NumberOfTimes) -> Ordering
fn cmp(&self, other: &NumberOfTimes) -> 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 NumberOfTimes
impl PartialEq for NumberOfTimes
Source§impl PartialOrd for NumberOfTimes
impl PartialOrd for NumberOfTimes
Source§impl Serialize for NumberOfTimes
impl Serialize for NumberOfTimes
impl Copy for NumberOfTimes
impl Eq for NumberOfTimes
impl StructuralPartialEq for NumberOfTimes
Auto Trait Implementations§
impl Freeze for NumberOfTimes
impl RefUnwindSafe for NumberOfTimes
impl Send for NumberOfTimes
impl Sync for NumberOfTimes
impl Unpin for NumberOfTimes
impl UnwindSafe for NumberOfTimes
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