pub struct Spacing {
pub axis_margin: f32,
pub tick_length: f32,
pub label_padding: f32,
pub candle_min_width: f32,
pub candle_max_width: f32,
pub grid_spacing_min: f32,
pub crosshair_width: f32,
}Expand description
Spacing and sizing constants
Fields§
§axis_margin: f32§tick_length: f32§label_padding: f32§candle_min_width: f32§candle_max_width: f32§grid_spacing_min: f32§crosshair_width: f32Trait Implementations§
Source§impl<'de> Deserialize<'de> for Spacing
impl<'de> Deserialize<'de> for Spacing
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
Auto Trait Implementations§
impl Freeze for Spacing
impl RefUnwindSafe for Spacing
impl Send for Spacing
impl Sync for Spacing
impl Unpin for Spacing
impl UnsafeUnpin for Spacing
impl UnwindSafe for Spacing
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