pub enum ConfigShell {
Path(String),
Inline(String),
}Expand description
One shell fragment: a path under the preferred dir, or inline text.
Variants§
Trait Implementations§
Source§impl Clone for ConfigShell
impl Clone for ConfigShell
Source§fn clone(&self) -> ConfigShell
fn clone(&self) -> ConfigShell
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 ConfigShell
impl Debug for ConfigShell
impl Eq for ConfigShell
Source§impl PartialEq for ConfigShell
impl PartialEq for ConfigShell
impl StructuralPartialEq for ConfigShell
Auto Trait Implementations§
impl Freeze for ConfigShell
impl RefUnwindSafe for ConfigShell
impl Send for ConfigShell
impl Sync for ConfigShell
impl Unpin for ConfigShell
impl UnsafeUnpin for ConfigShell
impl UnwindSafe for ConfigShell
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.