pub struct Code {
pub text: Rendered,
pub common: Common,
pub text_align: TextAlign,
pub style: Style,
pub font: Option<Type>,
pub line_clamp: Option<i64>,
pub text_indent: Option<Length>,
}
Fields
text: Rendered
common: Common
text_align: TextAlign
style: Style
font: Option<Type>
line_clamp: Option<i64>
text_indent: Option<Length>
Implementations
Trait Implementations
sourceimpl<'de> Deserialize<'de> for Code
impl<'de> Deserialize<'de> for Code
sourcefn 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
sourceimpl PartialEq<Code> for Code
impl PartialEq<Code> for Code
impl StructuralPartialEq for Code
Auto Trait Implementations
impl RefUnwindSafe for Code
impl Send for Code
impl Sync for Code
impl Unpin for Code
impl UnwindSafe for Code
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more