Enum env_logger::fmt::WriteStyle
source · [−]pub enum WriteStyle {
Auto,
Always,
Never,
}
Expand description
Whether or not to print styles to the target.
Variants
Auto
Try to print styles, but don’t force the issue.
Always
Try very hard to print styles.
Never
Never print styles.
Trait Implementations
sourceimpl Clone for WriteStyle
impl Clone for WriteStyle
sourcefn clone(&self) -> WriteStyle
fn clone(&self) -> WriteStyle
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for WriteStyle
impl Debug for WriteStyle
sourceimpl Default for WriteStyle
impl Default for WriteStyle
sourceimpl Hash for WriteStyle
impl Hash for WriteStyle
sourceimpl PartialEq<WriteStyle> for WriteStyle
impl PartialEq<WriteStyle> for WriteStyle
impl Copy for WriteStyle
impl Eq for WriteStyle
impl StructuralEq for WriteStyle
impl StructuralPartialEq for WriteStyle
Auto Trait Implementations
impl RefUnwindSafe for WriteStyle
impl Send for WriteStyle
impl Sync for WriteStyle
impl Unpin for WriteStyle
impl UnwindSafe for WriteStyle
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcepub fn borrow_mut(&mut self) -> &mut T
pub fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcepub fn to_owned(&self) -> T
pub fn to_owned(&self) -> T
Creates owned data from borrowed data, usually by cloning. Read more
sourcepub fn clone_into(&self, target: &mut T)
pub fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more