pub struct Paragraph<'a, 'text> {
pub info: &'a BidiInfo<'text>,
pub para: &'a ParagraphInfo,
}Expand description
Contains a reference of BidiInfo and one of its paragraphs.
And it supports all operation in the Paragraph that needs also its
BidiInfo such as direction.
Fields§
§info: &'a BidiInfo<'text>§para: &'a ParagraphInfoImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<'a, 'text> Freeze for Paragraph<'a, 'text>
impl<'a, 'text> RefUnwindSafe for Paragraph<'a, 'text>
impl<'a, 'text> Send for Paragraph<'a, 'text>
impl<'a, 'text> Sync for Paragraph<'a, 'text>
impl<'a, 'text> Unpin for Paragraph<'a, 'text>
impl<'a, 'text> UnwindSafe for Paragraph<'a, 'text>
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
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference's “Type Layout” chapter for details on type layout guarantees.
Size: 16 bytes