Enum pulldown_typst::CodeBlockDisplay
source · pub enum CodeBlockDisplay {
Inline,
Block,
}
Expand description
How to display a code block.
Variants§
Trait Implementations§
source§impl Clone for CodeBlockDisplay
impl Clone for CodeBlockDisplay
source§fn clone(&self) -> CodeBlockDisplay
fn clone(&self) -> CodeBlockDisplay
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 CodeBlockDisplay
impl Debug for CodeBlockDisplay
source§impl PartialEq for CodeBlockDisplay
impl PartialEq for CodeBlockDisplay
source§fn eq(&self, other: &CodeBlockDisplay) -> bool
fn eq(&self, other: &CodeBlockDisplay) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for CodeBlockDisplay
Auto Trait Implementations§
impl RefUnwindSafe for CodeBlockDisplay
impl Send for CodeBlockDisplay
impl Sync for CodeBlockDisplay
impl Unpin for CodeBlockDisplay
impl UnwindSafe for CodeBlockDisplay
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