pub enum UiLabel<'a> {
Full(&'a str),
Unavailable {
required_bytes: usize,
},
}Expand description
Complete original UTF-8 copy, or an explicit inspection-only capacity miss. Missing copy never rejects painting/input and is never silently truncated.
Variants§
Trait Implementations§
impl<'a> Copy for UiLabel<'a>
impl<'a> Eq for UiLabel<'a>
impl<'a> StructuralPartialEq for UiLabel<'a>
Auto Trait Implementations§
impl<'a> Freeze for UiLabel<'a>
impl<'a> RefUnwindSafe for UiLabel<'a>
impl<'a> Send for UiLabel<'a>
impl<'a> Sync for UiLabel<'a>
impl<'a> Unpin for UiLabel<'a>
impl<'a> UnwindSafe for UiLabel<'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