pub enum InlineKind {
Strong,
Emph,
Verbatim,
Mark,
Superscript,
Subscript,
Insert,
Delete,
}Expand description
An inline mark for Editor::wrap_range / Editor::toggle_inline — a
rich editor’s Bold / Italic / Code / … buttons. Markdown spells only
InlineKind::Strong, InlineKind::Emph, and InlineKind::Verbatim;
Djot spells all of them. An unsupported kind yields Error::UnsupportedFormat.
Variants§
Trait Implementations§
Source§impl Clone for InlineKind
impl Clone for InlineKind
Source§fn clone(&self) -> InlineKind
fn clone(&self) -> InlineKind
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 moreimpl Copy for InlineKind
Source§impl Debug for InlineKind
impl Debug for InlineKind
impl Eq for InlineKind
Source§impl PartialEq for InlineKind
impl PartialEq for InlineKind
impl StructuralPartialEq for InlineKind
Auto Trait Implementations§
impl Freeze for InlineKind
impl RefUnwindSafe for InlineKind
impl Send for InlineKind
impl Sync for InlineKind
impl Unpin for InlineKind
impl UnsafeUnpin for InlineKind
impl UnwindSafe for InlineKind
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