pub struct GridSettings {
pub spacing: f64,
pub major_every: u32,
}Expand description
Grid settings (presentation defaults stored with the document).
Fields§
§spacing: f64Grid spacing in mm.
major_every: u32Major line every N minor lines.
Trait Implementations§
Source§impl Clone for GridSettings
impl Clone for GridSettings
Source§fn clone(&self) -> GridSettings
fn clone(&self) -> GridSettings
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for GridSettings
Source§impl Debug for GridSettings
impl Debug for GridSettings
Source§impl Default for GridSettings
impl Default for GridSettings
Source§impl<'de> Deserialize<'de> for GridSettings
impl<'de> Deserialize<'de> for GridSettings
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 PartialEq for GridSettings
impl PartialEq for GridSettings
Source§fn eq(&self, other: &GridSettings) -> bool
fn eq(&self, other: &GridSettings) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for GridSettings
impl Serialize for GridSettings
impl StructuralPartialEq for GridSettings
Auto Trait Implementations§
impl Freeze for GridSettings
impl RefUnwindSafe for GridSettings
impl Send for GridSettings
impl Sync for GridSettings
impl Unpin for GridSettings
impl UnsafeUnpin for GridSettings
impl UnwindSafe for GridSettings
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