Enum termimad::CompositeKind
source · pub enum CompositeKind {
Paragraph,
Header(u8),
ListItem(u8),
ListItemFollowUp(u8),
Code,
Quote,
}
Expand description
The global kind of a composite
Variants§
Trait Implementations§
source§impl Clone for CompositeKind
impl Clone for CompositeKind
source§fn clone(&self) -> CompositeKind
fn clone(&self) -> CompositeKind
Returns a copy 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 CompositeKind
impl Debug for CompositeKind
source§impl From<CompositeStyle> for CompositeKind
impl From<CompositeStyle> for CompositeKind
source§fn from(ty: CompositeStyle) -> Self
fn from(ty: CompositeStyle) -> Self
Converts to this type from the input type.
source§impl PartialEq for CompositeKind
impl PartialEq for CompositeKind
source§fn eq(&self, other: &CompositeKind) -> bool
fn eq(&self, other: &CompositeKind) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for CompositeKind
impl Eq for CompositeKind
impl StructuralPartialEq for CompositeKind
Auto Trait Implementations§
impl Freeze for CompositeKind
impl RefUnwindSafe for CompositeKind
impl Send for CompositeKind
impl Sync for CompositeKind
impl Unpin for CompositeKind
impl UnwindSafe for CompositeKind
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