pub struct HighlightButton<T> {
pub text: String,
pub highlighted: bool,
/* private fields */
}
Fields§
§text: String
§highlighted: bool
Implementations§
Source§impl<T> HighlightButton<T>
impl<T> HighlightButton<T>
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for HighlightButton<T>where
T: Freeze,
impl<T> RefUnwindSafe for HighlightButton<T>where
T: RefUnwindSafe,
impl<T> Send for HighlightButton<T>where
T: Send,
impl<T> Sync for HighlightButton<T>where
T: Sync,
impl<T> Unpin for HighlightButton<T>where
T: Unpin,
impl<T> UnwindSafe for HighlightButton<T>where
T: UnwindSafe,
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