pub struct StyledChapter { /* private fields */ }Expand description
Styled chapter output.
Implementations§
Source§impl StyledChapter
impl StyledChapter
Sourcepub fn iter(&self) -> impl Iterator<Item = &StyledEventOrRun>
pub fn iter(&self) -> impl Iterator<Item = &StyledEventOrRun>
Iterate full event/run stream.
Sourcepub fn from_items(items: Vec<StyledEventOrRun>) -> Self
pub fn from_items(items: Vec<StyledEventOrRun>) -> Self
Build from a pre-collected item vector.
Trait Implementations§
Source§impl Clone for StyledChapter
impl Clone for StyledChapter
Source§fn clone(&self) -> StyledChapter
fn clone(&self) -> StyledChapter
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 StyledChapter
impl Debug for StyledChapter
Source§impl Default for StyledChapter
impl Default for StyledChapter
Source§fn default() -> StyledChapter
fn default() -> StyledChapter
Returns the “default value” for a type. Read more
Source§impl PartialEq for StyledChapter
impl PartialEq for StyledChapter
impl StructuralPartialEq for StyledChapter
Auto Trait Implementations§
impl Freeze for StyledChapter
impl RefUnwindSafe for StyledChapter
impl Send for StyledChapter
impl Sync for StyledChapter
impl Unpin for StyledChapter
impl UnsafeUnpin for StyledChapter
impl UnwindSafe for StyledChapter
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