pub struct Column<T> {
pub data: Vec<T>,
pub min: T,
pub max: T,
}Expand description
A single column: data + cached min/max.
The role (axis or errorbar) is not encoded here — SeriesConfig.x_column / y_column and DataRenderType’s ErrorRef reference columns by id.
Fields§
§data: Vec<T>§min: T§max: TTrait Implementations§
impl<T: PartialEq> StructuralPartialEq for Column<T>
Auto Trait Implementations§
impl<T> Freeze for Column<T>
impl<T> RefUnwindSafe for Column<T>
impl<T> Send for Column<T>
impl<T> Sync for Column<T>
impl<T> Unpin for Column<T>
impl<T> UnsafeUnpin for Column<T>
impl<T> UnwindSafe for Column<T>
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