pub enum Optionality {
Required,
Optional {
priority: usize,
},
}Variants§
Trait Implementations§
Source§impl Clone for Optionality
impl Clone for Optionality
Source§fn clone(&self) -> Optionality
fn clone(&self) -> Optionality
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 Optionality
impl Debug for Optionality
Source§impl Default for Optionality
impl Default for Optionality
Source§fn default() -> Optionality
fn default() -> Optionality
Returns the “default value” for a type. Read more
impl Copy for Optionality
Auto Trait Implementations§
impl Freeze for Optionality
impl RefUnwindSafe for Optionality
impl Send for Optionality
impl Sync for Optionality
impl Unpin for Optionality
impl UnwindSafe for Optionality
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