Enum test::ColorConfig
source · pub enum ColorConfig {
AutoColor,
AlwaysColor,
NeverColor,
}
🔬This is a nightly-only experimental API. (
test
)Expand description
控制台输出是否应为彩色
Variants§
AutoColor
🔬This is a nightly-only experimental API. (
test
)AlwaysColor
🔬This is a nightly-only experimental API. (
test
)NeverColor
🔬This is a nightly-only experimental API. (
test
)Trait Implementations§
source§impl Clone for ColorConfig
impl Clone for ColorConfig
source§fn clone(&self) -> ColorConfig
fn clone(&self) -> ColorConfig
返回值的副本。 Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
从
source
执行复制分配。 Read moresource§impl Debug for ColorConfig
impl Debug for ColorConfig
source§impl Default for ColorConfig
impl Default for ColorConfig
source§fn default() -> ColorConfig
fn default() -> ColorConfig
返回类型的 “默认值”。 Read more
impl Copy for ColorConfig
Auto Trait Implementations§
impl RefUnwindSafe for ColorConfig
impl Send for ColorConfig
impl Sync for ColorConfig
impl Unpin for ColorConfig
impl UnwindSafe for ColorConfig
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
从拥有的值中借用。 Read more