pub enum BlockContainerKind {
BlockQuote,
BulletList,
OrderedList,
}Expand description
A block container for Editor::toggle_block_container — the toolbar’s
Quote / Bulleted list / Numbered list buttons. Where a BlockKind rewrites
one block’s leading marker, a container prefixes every line of a range and
nests. Djot and Markdown spell all three; other formats yield
Error::UnsupportedFormat.
Variants§
Trait Implementations§
Source§impl Clone for BlockContainerKind
impl Clone for BlockContainerKind
Source§fn clone(&self) -> BlockContainerKind
fn clone(&self) -> BlockContainerKind
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 BlockContainerKind
Source§impl Debug for BlockContainerKind
impl Debug for BlockContainerKind
impl Eq for BlockContainerKind
Source§impl PartialEq for BlockContainerKind
impl PartialEq for BlockContainerKind
impl StructuralPartialEq for BlockContainerKind
Auto Trait Implementations§
impl Freeze for BlockContainerKind
impl RefUnwindSafe for BlockContainerKind
impl Send for BlockContainerKind
impl Sync for BlockContainerKind
impl Unpin for BlockContainerKind
impl UnsafeUnpin for BlockContainerKind
impl UnwindSafe for BlockContainerKind
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