pub struct Style { /* private fields */ }Implementations§
Source§impl Style
impl Style
pub fn new() -> Self
pub fn background(&self) -> Color
pub fn with_background(self, value: Color) -> Self
pub fn title_colors(&self) -> ColorPair
pub fn with_title_colors(self, value: ColorPair) -> Self
pub fn message_colors(&self) -> ColorPair
pub fn with_message_colors(self, value: ColorPair) -> Self
pub fn bar_colors(&self) -> ColorPair
pub fn with_bar_colors(self, value: ColorPair) -> Self
pub fn back_colors(&self) -> ColorPair
pub fn with_back_colors(self, value: ColorPair) -> Self
pub fn left_margin(&self) -> Coord
pub fn with_left_margin(self, value: Coord) -> Self
pub fn right_margin(&self) -> Coord
pub fn with_right_margin(self, value: Coord) -> Self
pub fn top_margin(&self) -> Coord
pub fn with_top_margin(self, value: Coord) -> Self
pub fn title_slidebar_padding(&self) -> Coord
pub fn with_title_slidebar_padding(self, value: Coord) -> Self
pub fn slidebar_message_padding(&self) -> Coord
pub fn with_slidebar_message_padding(self, value: Coord) -> Self
pub fn message_back_padding(&self) -> Coord
pub fn with_message_back_padding(self, value: Coord) -> Self
pub fn bottom_margin(&self) -> Coord
pub fn with_bottom_margin(self, value: Coord) -> Self
pub fn left_arrow(&self) -> &str
pub fn with_left_arrow(self, value: impl AsRef<str>) -> Self
pub fn right_arrow(&self) -> &str
pub fn with_right_arrow(self, value: impl AsRef<str>) -> Self
pub fn left_bar_ch(&self) -> Id
pub fn with_left_bar_ch(self, value: Id) -> Self
pub fn right_bar_ch(&self) -> Id
pub fn with_right_bar_ch(self, value: Id) -> Self
pub fn slide_handle(&self) -> &str
pub fn with_slide_handle(self, value: impl AsRef<str>) -> Self
pub fn back_label(&self) -> &str
pub fn with_back_label(self, value: impl AsRef<str>) -> Self
Trait Implementations§
impl StructuralPartialEq for Style
Auto Trait Implementations§
impl Freeze for Style
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnsafeUnpin 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