pub struct Label(/* private fields */);
Expand description
A type to specify UI label, like an entry in the list of assists. Enforces proper casing:
Frobnicate bar
Note the upper-case first letter and the absence of .
at the end.
Implementations§
Trait Implementations§
source§impl PartialEq<&str> for Label
impl PartialEq<&str> for Label
Auto Trait Implementations§
impl RefUnwindSafe for Label
impl Send for Label
impl Sync for Label
impl Unpin for Label
impl UnwindSafe for Label
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