Struct tui::text::StyledGrapheme
source · [−]Expand description
A grapheme associated to a style.
Fields
symbol: &'a str
style: Style
Trait Implementations
sourceimpl<'a> Clone for StyledGrapheme<'a>
impl<'a> Clone for StyledGrapheme<'a>
sourcefn clone(&self) -> StyledGrapheme<'a>
fn clone(&self) -> StyledGrapheme<'a>
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl<'a> Debug for StyledGrapheme<'a>
impl<'a> Debug for StyledGrapheme<'a>
sourceimpl<'a> PartialEq<StyledGrapheme<'a>> for StyledGrapheme<'a>
impl<'a> PartialEq<StyledGrapheme<'a>> for StyledGrapheme<'a>
sourcefn eq(&self, other: &StyledGrapheme<'a>) -> bool
fn eq(&self, other: &StyledGrapheme<'a>) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &StyledGrapheme<'a>) -> bool
fn ne(&self, other: &StyledGrapheme<'a>) -> bool
This method tests for !=
.
impl<'a> Eq for StyledGrapheme<'a>
impl<'a> StructuralEq for StyledGrapheme<'a>
impl<'a> StructuralPartialEq for StyledGrapheme<'a>
Auto Trait Implementations
impl<'a> RefUnwindSafe for StyledGrapheme<'a>
impl<'a> Send for StyledGrapheme<'a>
impl<'a> Sync for StyledGrapheme<'a>
impl<'a> Unpin for StyledGrapheme<'a>
impl<'a> UnwindSafe for StyledGrapheme<'a>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more