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