pub enum StyledEvent {
ParagraphStart,
ParagraphEnd,
HeadingStart(u8),
HeadingEnd(u8),
ListItemStart,
ListItemEnd,
LineBreak,
}Expand description
Structured block/layout events.
Variants§
ParagraphStart
Paragraph starts.
ParagraphEnd
Paragraph ends.
HeadingStart(u8)
Heading starts.
HeadingEnd(u8)
Heading ends.
ListItemStart
List item starts.
ListItemEnd
List item ends.
LineBreak
Explicit line break.
Trait Implementations§
Source§impl Clone for StyledEvent
impl Clone for StyledEvent
Source§fn clone(&self) -> StyledEvent
fn clone(&self) -> StyledEvent
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 StyledEvent
impl Debug for StyledEvent
Source§impl PartialEq for StyledEvent
impl PartialEq for StyledEvent
impl Copy for StyledEvent
impl Eq for StyledEvent
impl StructuralPartialEq for StyledEvent
Auto Trait Implementations§
impl Freeze for StyledEvent
impl RefUnwindSafe for StyledEvent
impl Send for StyledEvent
impl Sync for StyledEvent
impl Unpin for StyledEvent
impl UnsafeUnpin for StyledEvent
impl UnwindSafe for StyledEvent
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