Enum pullup::typst::CodeBlockDisplay
source · pub enum CodeBlockDisplay {
Block,
Inline,
}
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
impl StructuralPartialEq for CodeBlockDisplay
Auto Trait Implementations§
impl Freeze for CodeBlockDisplay
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)