pub struct TextBlock {
pub text: String,
pub location: BlockLocation,
pub segments: Vec<TextSegment>,
}Fields§
§text: String§location: BlockLocation§segments: Vec<TextSegment>Trait Implementations§
impl Eq for TextBlock
impl StructuralPartialEq for TextBlock
Auto Trait Implementations§
impl Forget for TextBlock
impl Freeze for TextBlockwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<usize>: Freeze,
PhantomData<TextSegment>: Freeze,
impl Move for TextBlock
impl RefUnwindSafe for TextBlock
impl Send for TextBlockwhere
RawVecInner: Send,
impl Sync for TextBlockwhere
RawVecInner: Sync,
impl Unpin for TextBlock
impl UnsafeUnpin for TextBlockwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<usize>: UnsafeUnpin,
PhantomData<TextSegment>: UnsafeUnpin,
impl UnwindSafe for TextBlockwhere
RawVecInner: 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