pub struct PageBlockPreformatted {
pub text: RichText,
pub language: String,
}
Expand description
A preformatted text paragraph
Fields§
§text: RichText
Paragraph text
language: String
Programming language for which the text should be formatted
Trait Implementations§
Source§impl Clone for PageBlockPreformatted
impl Clone for PageBlockPreformatted
Source§fn clone(&self) -> PageBlockPreformatted
fn clone(&self) -> PageBlockPreformatted
Returns a duplicate 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 PageBlockPreformatted
impl Debug for PageBlockPreformatted
Source§impl<'de> Deserialize<'de> for PageBlockPreformatted
impl<'de> Deserialize<'de> for PageBlockPreformatted
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 PageBlockPreformatted
impl RefUnwindSafe for PageBlockPreformatted
impl Send for PageBlockPreformatted
impl Sync for PageBlockPreformatted
impl Unpin for PageBlockPreformatted
impl UnwindSafe for PageBlockPreformatted
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