pub struct CategoryLevels {
pub by_columns: bool,
pub outer: u32,
}Expand description
The shape of a chart’s category range beside its values: a plain list, or a multi-level axis (Excel: a category range two or more columns wide beside a column of values is a two-level axis, year beside month; one two or more rows tall above a row of values likewise).
Fields§
§by_columns: boolThe levels are columns and the points run down the rows (else the levels are rows and the points run along the columns).
outer: u32Outer levels beyond the innermost labels (the column or row nearest the values): 1 for a two-level axis. At most 3 are kept.
Trait Implementations§
Source§impl Clone for CategoryLevels
impl Clone for CategoryLevels
Source§fn clone(&self) -> CategoryLevels
fn clone(&self) -> CategoryLevels
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 CategoryLevels
Source§impl Debug for CategoryLevels
impl Debug for CategoryLevels
impl Eq for CategoryLevels
Source§impl PartialEq for CategoryLevels
impl PartialEq for CategoryLevels
impl StructuralPartialEq for CategoryLevels
Auto Trait Implementations§
impl Freeze for CategoryLevels
impl RefUnwindSafe for CategoryLevels
impl Send for CategoryLevels
impl Sync for CategoryLevels
impl Unpin for CategoryLevels
impl UnsafeUnpin for CategoryLevels
impl UnwindSafe for CategoryLevels
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.