pub struct ProjectedParagraph {
pub id: InternalParagraphId,
pub ordinal: usize,
pub package_paragraph_id: Option<PackageParagraphId>,
pub text: String,
pub formatting: Vec<TextFormattingSpan>,
pub structure: Option<ParagraphStructure>,
}Fields§
§id: InternalParagraphId§ordinal: usize§package_paragraph_id: Option<PackageParagraphId>§text: String§formatting: Vec<TextFormattingSpan>§structure: Option<ParagraphStructure>Trait Implementations§
Source§impl Clone for ProjectedParagraph
impl Clone for ProjectedParagraph
Source§fn clone(&self) -> ProjectedParagraph
fn clone(&self) -> ProjectedParagraph
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 ProjectedParagraph
impl Debug for ProjectedParagraph
impl Eq for ProjectedParagraph
Source§impl PartialEq for ProjectedParagraph
impl PartialEq for ProjectedParagraph
impl StructuralPartialEq for ProjectedParagraph
Auto Trait Implementations§
impl Freeze for ProjectedParagraph
impl RefUnwindSafe for ProjectedParagraph
impl Send for ProjectedParagraph
impl Sync for ProjectedParagraph
impl Unpin for ProjectedParagraph
impl UnsafeUnpin for ProjectedParagraph
impl UnwindSafe for ProjectedParagraph
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