pub struct Style {
pub color: String,
pub font: String,
pub size: i64,
pub length: i64,
pub trim: bool,
pub emojize: bool,
pub ansi: bool,
}
Expand description
Style wraps options related to text presentation which can be added to a line
Fields§
§color: String
§font: String
§size: i64
§length: i64
§trim: bool
§emojize: bool
§ansi: bool
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Style
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnwindSafe for Style
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