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