pub struct Style {
pub name: String,
pub display_name: Option<String>,
pub family: Family,
pub parent: Option<String>,
pub element: Element,
}Expand description
One style as the document declares it.
Fields§
§name: StringIts name, as everything else refers to it.
display_name: Option<String>The name a person sees in an application’s style list, where it differs
from the name in the file. ODF encodes a space as _20_ in a style name
and carries the readable spelling in this attribute.
family: FamilyIts family.
parent: Option<String>The style it inherits from.
element: ElementThe style:style element itself, so that a property this crate does not
model is still reachable.
Auto Trait Implementations§
impl Freeze for Style
impl RefUnwindSafe for Style
impl Send for Style
impl Sync for Style
impl Unpin for Style
impl UnsafeUnpin for Style
impl UnwindSafe for Style
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