pub struct StoryParagraph {
pub address: Option<Address>,
pub cell: Option<CellPlace>,
pub text: String,
pub links: Vec<StoryLink>,
pub bookmarks: Vec<StoryBookmark>,
}Expand description
A paragraph of a story’s text (Story text): the texts of its laid out lines joined, so that a field gives its shown result, a list label is given as drawn, hidden text is left out and an automatic hyphen is not in it.
Fields§
§address: Option<Address>Its address, which every paragraph of a story has but a note separator’s.
cell: Option<CellPlace>The table cell that it lies in, when it lies in one.
text: StringIts text: the characters of its glyphs, a tab as \t, a line, page or column break as
\n and an inline object as U+FFFC.
links: Vec<StoryLink>The hyperlinks in its text, in the order of their starts, a link before the links inside it.
bookmarks: Vec<StoryBookmark>The bookmarks that start in it, in order.
Trait Implementations§
Source§impl Clone for StoryParagraph
impl Clone for StoryParagraph
Source§fn clone(&self) -> StoryParagraph
fn clone(&self) -> StoryParagraph
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 StoryParagraph
impl Debug for StoryParagraph
Source§impl Default for StoryParagraph
impl Default for StoryParagraph
Source§fn default() -> StoryParagraph
fn default() -> StoryParagraph
Returns the “default value” for a type. Read more
impl Eq for StoryParagraph
Source§impl PartialEq for StoryParagraph
impl PartialEq for StoryParagraph
impl StructuralPartialEq for StoryParagraph
Auto Trait Implementations§
impl Forget for StoryParagraph
impl Freeze for StoryParagraphwhere
*const u8 is !null: Freeze,
PhantomData<AddressStep>: Freeze,
PhantomData<u8>: Freeze,
PhantomData<StoryLink>: Freeze,
PhantomData<StoryBookmark>: Freeze,
impl Move for StoryParagraph
impl RefUnwindSafe for StoryParagraph
impl Send for StoryParagraph
impl Sync for StoryParagraph
impl Unpin for StoryParagraph
impl UnsafeUnpin for StoryParagraphwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<AddressStep>: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<StoryLink>: UnsafeUnpin,
PhantomData<StoryBookmark>: UnsafeUnpin,
impl UnwindSafe for StoryParagraph
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.impl<T> ErasedDestructor for Twhere
T: 'static,
impl<T> Read<Exclusive, BecauseExclusive> for Twhere
T: ?Sized,
Source§impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
impl<U, T> ToOwnedObj<U> for Twhere
U: FromObjRef<T>,
Source§fn to_owned_obj(&self, data: FontData<'_>) -> U
fn to_owned_obj(&self, data: FontData<'_>) -> U
Convert this type into
T, using the provided data to resolve any offsets.