pub struct CharString<D: Display, F: Into<StyledContent<D>> + Clone> {
pub text: F,
/* private fields */
}
Expand description
A Render type that doesn’t get split. It purely renders the one item to the screen. Useful for multi-character emojis.
Fields§
§text: F
Implementations§
Source§impl<D: Display, F: Into<StyledContent<D>> + Clone> CharString<D, F>
impl<D: Display, F: Into<StyledContent<D>> + Clone> CharString<D, F>
Trait Implementations§
Auto Trait Implementations§
impl<D, F> Freeze for CharString<D, F>where
F: Freeze,
impl<D, F> RefUnwindSafe for CharString<D, F>where
F: RefUnwindSafe,
D: RefUnwindSafe,
impl<D, F> Send for CharString<D, F>
impl<D, F> Sync for CharString<D, F>
impl<D, F> Unpin for CharString<D, F>
impl<D, F> UnwindSafe for CharString<D, F>where
F: UnwindSafe,
D: 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