pub struct ZoomStep {
pub label: String,
pub from: usize,
pub to: usize,
}Expand description
A pre-computed zoom step: shows categories from..=to as its own chart variant.
Fields§
§label: String§from: usize§to: usizeTrait Implementations§
Source§impl<'de> Deserialize<'de> for ZoomStep
impl<'de> Deserialize<'de> for ZoomStep
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 ZoomStep
impl RefUnwindSafe for ZoomStep
impl Send for ZoomStep
impl Sync for ZoomStep
impl Unpin for ZoomStep
impl UnsafeUnpin for ZoomStep
impl UnwindSafe for ZoomStep
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