Enum librsnek::runtime::config::Mode
[−]
[src]
pub enum Mode { Interactive, Command(String), Module(String), File, }
Variants
Interactive
Command(String)
Module(String)
File
Trait Implementations
impl Debug for Mode
[src]
impl Clone for Mode
[src]
fn clone(&self) -> Mode
Returns a copy of the value.
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
.
impl Hash for Mode
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
Feeds this value into the given [Hasher
].
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0
H: Hasher,
Feeds a slice of this type into the given [Hasher
].