pub struct SystemLayoutContents {
pub system_margins: Option<SystemMargins>,
pub system_distance: Option<SystemDistance>,
pub top_system_distance: Option<TopSystemDistance>,
pub system_dividers: Option<SystemDividers>,
}Expand description
Contents of the SystemLayout element.
Fields§
§system_margins: Option<SystemMargins>The SystemMargins element specifies the left and right margins of the system.
system_distance: Option<SystemDistance>The SystemDistance element specifies the vertical distance between this system and the previous system.
top_system_distance: Option<TopSystemDistance>The TopSystemDistance element specifies the vertical distance from the top of the page to the top of the system.
system_dividers: Option<SystemDividers>The SystemDividers element specifies the presence or absence of dividers before the system.
Trait Implementations§
Source§impl ContentDeserializer for SystemLayoutContents
impl ContentDeserializer for SystemLayoutContents
fn deserialize(elements: &[XmlElement]) -> Result<SystemLayoutContents, String>
Source§impl ContentSerializer for SystemLayoutContents
impl ContentSerializer for SystemLayoutContents
fn serialize(element: &Self) -> Vec<XmlElement>
Source§impl Debug for SystemLayoutContents
impl Debug for SystemLayoutContents
Source§impl Default for SystemLayoutContents
impl Default for SystemLayoutContents
Source§fn default() -> SystemLayoutContents
fn default() -> SystemLayoutContents
Returns the “default value” for a type. Read more
Source§impl PartialEq for SystemLayoutContents
impl PartialEq for SystemLayoutContents
impl Eq for SystemLayoutContents
impl StructuralPartialEq for SystemLayoutContents
Auto Trait Implementations§
impl Freeze for SystemLayoutContents
impl RefUnwindSafe for SystemLayoutContents
impl Send for SystemLayoutContents
impl Sync for SystemLayoutContents
impl Unpin for SystemLayoutContents
impl UnwindSafe for SystemLayoutContents
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