Enum dicom_dump::ColorMode
source · [−]pub enum ColorMode {
Auto,
Never,
Always,
}Expand description
Enumeration of output coloring modes.
Variants
Auto
Produce colored output if supported by the destination
(namely, if the destination is a terminal).
When calling dump_file_to
or dump_object_to,
the output will not be colored.
This is the default behavior.
Never
Never produce colored output.
Always
Always produce colored output.
Trait Implementations
impl Copy for ColorMode
impl Eq for ColorMode
impl StructuralEq for ColorMode
impl StructuralPartialEq for ColorMode
Auto Trait Implementations
impl RefUnwindSafe for ColorMode
impl Send for ColorMode
impl Sync for ColorMode
impl Unpin for ColorMode
impl UnwindSafe for ColorMode
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more