pub enum AxisMode {
Auto,
Linked,
Fixed,
}Expand description
How an axis’s range is chosen.
Variants§
Auto
From the data, padded, and widened to include the range it showed before (the renderer keeps that history).
Linked
The padded union of an axis group’s data ranges.
Fixed
Exactly range.
Trait Implementations§
impl Copy for AxisMode
Source§impl<'de> Deserialize<'de> for AxisMode
impl<'de> Deserialize<'de> for AxisMode
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
impl Eq for AxisMode
impl StructuralPartialEq for AxisMode
Auto Trait Implementations§
impl Freeze for AxisMode
impl RefUnwindSafe for AxisMode
impl Send for AxisMode
impl Sync for AxisMode
impl Unpin for AxisMode
impl UnsafeUnpin for AxisMode
impl UnwindSafe for AxisMode
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