pub struct ModeBar { /* private fields */ }
Implementations§
Source§impl ModeBar
impl ModeBar
pub fn new() -> ModeBar
pub fn orientation<C: Color>(self, orientation: Orientation) -> ModeBar
pub fn background_color<C: Color>(self, background_color: C) -> ModeBar
pub fn color<C: Color>(self, color: C) -> ModeBar
pub fn active_color<C: Color>(self, active_color: C) -> ModeBar
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ModeBar
impl RefUnwindSafe for ModeBar
impl Send for ModeBar
impl Sync for ModeBar
impl Unpin for ModeBar
impl UnwindSafe for ModeBar
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