pub enum ModuleSelection {
Current,
Other(String),
}Variants§
Trait Implementations§
Source§impl Clone for ModuleSelection
impl Clone for ModuleSelection
Source§fn clone(&self) -> ModuleSelection
fn clone(&self) -> ModuleSelection
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 ModuleSelection
impl Debug for ModuleSelection
Source§impl<'de> Deserialize<'de> for ModuleSelection
impl<'de> Deserialize<'de> for ModuleSelection
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
impl Eq for ModuleSelection
Source§impl Hash for ModuleSelection
impl Hash for ModuleSelection
Source§impl Ord for ModuleSelection
impl Ord for ModuleSelection
Source§fn cmp(&self, other: &ModuleSelection) -> Ordering
fn cmp(&self, other: &ModuleSelection) -> 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 ModuleSelection
impl PartialEq for ModuleSelection
Source§fn eq(&self, other: &ModuleSelection) -> bool
fn eq(&self, other: &ModuleSelection) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for ModuleSelection
impl PartialOrd for ModuleSelection
Source§impl Serialize for ModuleSelection
impl Serialize for ModuleSelection
impl StructuralPartialEq for ModuleSelection
Auto Trait Implementations§
impl Freeze for ModuleSelection
impl RefUnwindSafe for ModuleSelection
impl Send for ModuleSelection
impl Sync for ModuleSelection
impl Unpin for ModuleSelection
impl UnsafeUnpin for ModuleSelection
impl UnwindSafe for ModuleSelection
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