Struct ftd::TextBlock [−][src]
pub struct TextBlock {
pub text: Rendered,
pub line: bool,
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
line: bool
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
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 RefUnwindSafe for TextBlock
impl UnwindSafe for TextBlock
Blanket Implementations
Mutably borrows from an owned value. Read more