pub struct PreparedChart {
pub spec: ChartSpec,
pub data: DataTable,
pub metadata: PreparedMetadata,
}Expand description
Stage 2 output: spec plus the single transformed table the renderer will consume.
data is either the lone source (passthrough when no transform is declared)
or the result of running registered TransformMiddleware over the
fetched sources.
Fields§
§spec: ChartSpec§data: DataTable§metadata: PreparedMetadataTrait Implementations§
Source§impl Clone for PreparedChart
impl Clone for PreparedChart
Source§fn clone(&self) -> PreparedChart
fn clone(&self) -> PreparedChart
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 moreAuto Trait Implementations§
impl !RefUnwindSafe for PreparedChart
impl !UnwindSafe for PreparedChart
impl Freeze for PreparedChart
impl Send for PreparedChart
impl Sync for PreparedChart
impl Unpin for PreparedChart
impl UnsafeUnpin for PreparedChart
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