pub enum OptionValueKind {
Bool,
OptionalString,
RequiredString,
StringList,
}Expand description
Option value syntax used by upstream commander declarations.
Variants§
Trait Implementations§
Source§impl Clone for OptionValueKind
impl Clone for OptionValueKind
Source§fn clone(&self) -> OptionValueKind
fn clone(&self) -> OptionValueKind
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 OptionValueKind
impl Debug for OptionValueKind
Source§impl PartialEq for OptionValueKind
impl PartialEq for OptionValueKind
Source§fn eq(&self, other: &OptionValueKind) -> bool
fn eq(&self, other: &OptionValueKind) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for OptionValueKind
impl Eq for OptionValueKind
impl StructuralPartialEq for OptionValueKind
Auto Trait Implementations§
impl Freeze for OptionValueKind
impl RefUnwindSafe for OptionValueKind
impl Send for OptionValueKind
impl Sync for OptionValueKind
impl Unpin for OptionValueKind
impl UnsafeUnpin for OptionValueKind
impl UnwindSafe for OptionValueKind
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.