pub struct Boxes<'a> {
pub on: &'a str,
pub off: &'a str,
}
Expand description
The text to use when indicating whether an item is selected.
Fields§
§on: &'a str
The text to use when an item is selected.
off: &'a str
The text to use when an item is not selected.
Trait Implementations§
impl<'a> Copy for Boxes<'a>
Auto Trait Implementations§
impl<'a> Freeze for Boxes<'a>
impl<'a> RefUnwindSafe for Boxes<'a>
impl<'a> Send for Boxes<'a>
impl<'a> Sync for Boxes<'a>
impl<'a> Unpin for Boxes<'a>
impl<'a> UnwindSafe for Boxes<'a>
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