pub enum GridSpacing {
Fixed(f64),
AtrBased(f64),
}Expand description
How grid line spacing is calculated.
Variants§
Fixed(f64)
Fixed percentage between consecutive grid lines.
AtrBased(f64)
ATR multiplier between consecutive grid lines.
Trait Implementations§
Source§impl Clone for GridSpacing
impl Clone for GridSpacing
Source§fn clone(&self) -> GridSpacing
fn clone(&self) -> GridSpacing
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for GridSpacing
impl Debug for GridSpacing
Source§impl<'de> Deserialize<'de> for GridSpacing
impl<'de> Deserialize<'de> for GridSpacing
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 GridSpacing
impl PartialEq for GridSpacing
Source§impl Serialize for GridSpacing
impl Serialize for GridSpacing
impl StructuralPartialEq for GridSpacing
Auto Trait Implementations§
impl Freeze for GridSpacing
impl RefUnwindSafe for GridSpacing
impl Send for GridSpacing
impl Sync for GridSpacing
impl Unpin for GridSpacing
impl UnsafeUnpin for GridSpacing
impl UnwindSafe for GridSpacing
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