pub struct Style { /* private fields */ }
Implementations§
Source§impl Style
impl Style
pub fn new() -> Self
pub fn with_title_y(self, value: Coord) -> Self
pub fn title_y(&self) -> Coord
pub fn with_title_colors(self, value: ColorPair) -> Self
pub fn title_colors(&self) -> ColorPair
pub fn with_pad_after_title(self, value: Coord) -> Self
pub fn pad_after_title(&self) -> Coord
pub fn with_bar_size(self, value: Coord) -> Self
pub fn bar_size(&self) -> Coord
pub fn with_bar_colors(self, value: ColorPair) -> Self
pub fn bar_colors(&self) -> ColorPair
pub fn with_pad_after_bar(self, value: Coord) -> Self
pub fn pad_after_bar(&self) -> Coord
pub fn with_perc_colors(self, value: ColorPair) -> Self
pub fn perc_colors(&self) -> ColorPair
pub fn with_pad_after_perc(self, value: Coord) -> Self
pub fn pad_after_perc(&self) -> Coord
pub fn with_absolute_colors(self, value: ColorPair) -> Self
pub fn absolute_colors(&self) -> ColorPair
pub fn with_pad_after_abs(self, value: Coord) -> Self
pub fn pad_after_abs(&self) -> Coord
pub fn with_status_colors(self, value: ColorPair) -> Self
pub fn status_colors(&self) -> ColorPair
pub fn with_background(self, value: Color) -> Self
pub fn background(&self) -> Color
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