pub struct YAxis {
pub domain: [f64; 2],
pub step: f64,
pub categories: Option<Vec<String>>,
pub ticks: Vec<YTick>,
}Fields§
§domain: [f64; 2]§step: f64§categories: Option<Vec<String>>Categorical y (horizontal bars): the RAW, untruncated category names in
axis order — the machine-readable surface for --meta, where the
truncated tick labels would silently corrupt names a caller matches
back to its rows. None on every quantitative-y path; skipped when None
so pre-existing scene snapshots stay byte-identical.
ticks: Vec<YTick>In draw order; rows are distinct by construction. row is buffer-absolute.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for YAxis
impl RefUnwindSafe for YAxis
impl Send for YAxis
impl Sync for YAxis
impl Unpin for YAxis
impl UnsafeUnpin for YAxis
impl UnwindSafe for YAxis
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