pub struct Group {
pub children: Vec<LayoutRenderingElement>,
pub font_style: Option<FontStyle>,
pub font_variant: Option<FontVariant>,
pub font_weight: Option<FontWeight>,
pub text_decoration: Option<TextDecoration>,
pub vertical_align: Option<VerticalAlign>,
pub prefix: Option<String>,
pub suffix: Option<String>,
pub delimiter: Option<String>,
pub display: Option<Display>,
}Expand description
A group of formatting instructions that is only shown if no variable is referenced or at least one referenced variable is populated.
Fields§
§children: Vec<LayoutRenderingElement>The formatting instructions.
font_style: Option<FontStyle>Set the font style.
font_variant: Option<FontVariant>Choose normal or small caps.
font_weight: Option<FontWeight>Set the font weight.
text_decoration: Option<TextDecoration>Choose underlining.
vertical_align: Option<VerticalAlign>Choose vertical alignment.
prefix: Option<String>The prefix.
suffix: Option<String>The suffix.
delimiter: Option<String>Delimit pieces of the output.
display: Option<Display>Set layout level.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Group
impl<'de> Deserialize<'de> for Group
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
Source§impl ToFormatting for Group
impl ToFormatting for Group
Source§fn to_formatting(&self) -> Formatting
fn to_formatting(&self) -> Formatting
Obtain a
Formatting.impl Eq for Group
impl StructuralPartialEq for Group
Auto Trait Implementations§
impl Freeze for Group
impl RefUnwindSafe for Group
impl Send for Group
impl Sync for Group
impl Unpin for Group
impl UnwindSafe for Group
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