pub struct Pre {
pub text_block: TextBlock,
pub language: Option<String>,
}Expand description
A monowidth code block
Fields§
§text_block: TextBlockThe part of the text that is the code block
language: Option<String>The programming language of the entity text
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Pre
impl<'de> Deserialize<'de> for Pre
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for Pre
Auto Trait Implementations§
impl Freeze for Pre
impl RefUnwindSafe for Pre
impl Send for Pre
impl Sync for Pre
impl Unpin for Pre
impl UnwindSafe for Pre
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