pub struct Code {
pub text: Rendered,
pub common: Common,
pub text_align: TextAlign,
pub style: Style,
pub size: Option<i64>,
pub font: Vec<NamedFont>,
pub external_font: Option<ExternalFont>,
pub line_height: Option<i64>,
pub line_clamp: Option<i64>,
}
Fields§
§text: Rendered
§common: Common
§text_align: TextAlign
§style: Style
§size: Option<i64>
§font: Vec<NamedFont>
§external_font: Option<ExternalFont>
§line_height: Option<i64>
§line_clamp: Option<i64>
Implementations§
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Code
impl<'de> Deserialize<'de> for Code
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 Code
Auto Trait Implementations§
impl Freeze for Code
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
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