Struct spdlog::terminal_style::Style
source · pub struct Style { /* private fields */ }Expand description
The terminal text style structure.
You can construct it easily with StyleBuilder.
Implementations
sourceimpl Style
impl Style
sourcepub fn new() -> Style
👎Deprecated since 0.3.0: it may be removed in the future, use Style::builder() instead
pub fn new() -> Style
Style::builder() insteadConstructs a Style with no styles.
sourcepub fn builder() -> StyleBuilder
pub fn builder() -> StyleBuilder
Constructs a StyleBuilder.
Trait Implementations
impl Eq for Style
impl StructuralEq for Style
impl StructuralPartialEq for Style
Auto Trait Implementations
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
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