pub struct ConfigStyle(/* private fields */);Expand description
Configuration style flags.
Implementations§
Source§impl ConfigStyle
impl ConfigStyle
Sourcepub const USE_LOCAL_FILE: ConfigStyle
pub const USE_LOCAL_FILE: ConfigStyle
Use local configuration file.
Sourcepub const USE_GLOBAL_FILE: ConfigStyle
pub const USE_GLOBAL_FILE: ConfigStyle
Use global configuration file.
Sourcepub const USE_RELATIVE_PATH: ConfigStyle
pub const USE_RELATIVE_PATH: ConfigStyle
Use relative paths.
Sourcepub const USE_NO_ESCAPE_CHARACTERS: ConfigStyle
pub const USE_NO_ESCAPE_CHARACTERS: ConfigStyle
Don’t escape special characters.
Sourcepub const USE_SUBDIR: ConfigStyle
pub const USE_SUBDIR: ConfigStyle
Use subdirectory for config file.
Trait Implementations§
Source§impl BitOr for ConfigStyle
impl BitOr for ConfigStyle
Source§impl BitOrAssign for ConfigStyle
impl BitOrAssign for ConfigStyle
Source§fn bitor_assign(&mut self, rhs: Self)
fn bitor_assign(&mut self, rhs: Self)
Performs the
|= operation. Read moreSource§impl Clone for ConfigStyle
impl Clone for ConfigStyle
Source§fn clone(&self) -> ConfigStyle
fn clone(&self) -> ConfigStyle
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 moreimpl Copy for ConfigStyle
Source§impl Debug for ConfigStyle
impl Debug for ConfigStyle
Source§impl Default for ConfigStyle
impl Default for ConfigStyle
Source§fn default() -> ConfigStyle
fn default() -> ConfigStyle
Returns the “default value” for a type. Read more
impl Eq for ConfigStyle
Source§impl PartialEq for ConfigStyle
impl PartialEq for ConfigStyle
Source§fn eq(&self, other: &ConfigStyle) -> bool
fn eq(&self, other: &ConfigStyle) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ConfigStyle
Auto Trait Implementations§
impl Freeze for ConfigStyle
impl RefUnwindSafe for ConfigStyle
impl Send for ConfigStyle
impl Sync for ConfigStyle
impl Unpin for ConfigStyle
impl UnsafeUnpin for ConfigStyle
impl UnwindSafe for ConfigStyle
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