Struct moto::StyledText
source · pub struct StyledText<'a> { /* private fields */ }
Implementations§
source§impl<'a> StyledText<'a>
impl<'a> StyledText<'a>
pub fn new(text: &'a str, style: &'a CStyle<'a>) -> StyledText<'a>
pub fn next(text: &'a str, style: &'a CStyle<'a>) -> StyledText<'a>
Trait Implementations§
source§impl<'a> Add<&'a CStyle<'a>> for &StyledText<'a>
impl<'a> Add<&'a CStyle<'a>> for &StyledText<'a>
source§impl<'a> Add<&'a CStyle<'a>> for StyledText<'a>
impl<'a> Add<&'a CStyle<'a>> for StyledText<'a>
source§impl<'a> Add<&'a str> for &StyledText<'a>
impl<'a> Add<&'a str> for &StyledText<'a>
source§impl<'a> Add<&'a str> for StyledText<'a>
impl<'a> Add<&'a str> for StyledText<'a>
Auto Trait Implementations§
impl<'a> Freeze for StyledText<'a>
impl<'a> RefUnwindSafe for StyledText<'a>
impl<'a> Send for StyledText<'a>
impl<'a> Sync for StyledText<'a>
impl<'a> Unpin for StyledText<'a>
impl<'a> UnwindSafe for StyledText<'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