pub struct StyledChunk {
pub text: String,
pub style: Style,
}Fields§
§text: String§style: StyleTrait Implementations§
Source§impl Clone for StyledChunk
impl Clone for StyledChunk
Source§fn clone(&self) -> StyledChunk
fn clone(&self) -> StyledChunk
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for StyledChunk
impl Debug for StyledChunk
Source§impl Hash for StyledChunk
impl Hash for StyledChunk
Source§impl PartialEq for StyledChunk
impl PartialEq for StyledChunk
impl Eq for StyledChunk
impl StructuralPartialEq for StyledChunk
Auto Trait Implementations§
impl Freeze for StyledChunk
impl RefUnwindSafe for StyledChunk
impl Send for StyledChunk
impl Sync for StyledChunk
impl Unpin for StyledChunk
impl UnsafeUnpin for StyledChunk
impl UnwindSafe for StyledChunk
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