pub struct XAxis {
pub categories: Option<Vec<String>>,
pub domain: Option<[f64; 2]>,
pub tick_cols: Vec<usize>,
pub labels: Vec<Placed>,
}Fields§
§categories: Option<Vec<String>>Nominal x: resolved category order. Quantitative: None.
domain: Option<[f64; 2]>§tick_cols: Vec<usize>Columns (plot-relative) that get a ‘┴’ glyph. Empty for bars.
labels: Vec<Placed>Labels that survived greedy placement; col is the buffer-absolute
start column. Dropped labels simply don’t appear — visible in diffs.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for XAxis
impl RefUnwindSafe for XAxis
impl Send for XAxis
impl Sync for XAxis
impl Unpin for XAxis
impl UnsafeUnpin for XAxis
impl UnwindSafe for XAxis
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