pub struct TupletNumberAttributes {
pub color: Option<Color>,
pub font_family: Option<FontFamily>,
pub font_size: Option<FontSize>,
pub font_style: Option<FontStyle>,
pub font_weight: Option<FontWeight>,
}Expand description
Attributes pertaining to the TupletNumber element.
Fields§
§color: Option<Color>Indicates the color of an element.
font_family: Option<FontFamily>A comma-separated list of font names.
font_size: Option<FontSize>One of the CSS sizes or a numeric point size.
font_style: Option<FontStyle>Normal or italic style.
font_weight: Option<FontWeight>Normal or bold weight.
Trait Implementations§
Source§impl AttributeDeserializer for TupletNumberAttributes
impl AttributeDeserializer for TupletNumberAttributes
fn deserialize( attributes: &[(String, String)], ) -> Result<TupletNumberAttributes, String>
Source§impl Debug for TupletNumberAttributes
impl Debug for TupletNumberAttributes
Source§impl Default for TupletNumberAttributes
impl Default for TupletNumberAttributes
Source§fn default() -> TupletNumberAttributes
fn default() -> TupletNumberAttributes
Returns the “default value” for a type. Read more
Source§impl PartialEq for TupletNumberAttributes
impl PartialEq for TupletNumberAttributes
impl Eq for TupletNumberAttributes
impl StructuralPartialEq for TupletNumberAttributes
Auto Trait Implementations§
impl Freeze for TupletNumberAttributes
impl RefUnwindSafe for TupletNumberAttributes
impl Send for TupletNumberAttributes
impl Sync for TupletNumberAttributes
impl Unpin for TupletNumberAttributes
impl UnwindSafe for TupletNumberAttributes
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