pub struct InputRichBlockPreformatted {
pub text: RichText,
pub language: Option<String>,
}Expand description
A preformatted text block (<pre><code>).
Fields§
§text: RichTextText of the block.
language: Option<String>The programming language of the text.
Trait Implementations§
Source§impl Clone for InputRichBlockPreformatted
impl Clone for InputRichBlockPreformatted
Source§fn clone(&self) -> InputRichBlockPreformatted
fn clone(&self) -> InputRichBlockPreformatted
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 moreSource§impl Debug for InputRichBlockPreformatted
impl Debug for InputRichBlockPreformatted
Source§impl<'de> Deserialize<'de> for InputRichBlockPreformatted
impl<'de> Deserialize<'de> for InputRichBlockPreformatted
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
Auto Trait Implementations§
impl Freeze for InputRichBlockPreformatted
impl RefUnwindSafe for InputRichBlockPreformatted
impl Send for InputRichBlockPreformatted
impl Sync for InputRichBlockPreformatted
impl Unpin for InputRichBlockPreformatted
impl UnsafeUnpin for InputRichBlockPreformatted
impl UnwindSafe for InputRichBlockPreformatted
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