pub enum ChartMLSpec {
Single(Box<Component>),
Array(Vec<Component>),
}Expand description
A parsed ChartML specification: either a single component or multiple components.
Variants§
Trait Implementations§
Source§impl Clone for ChartMLSpec
impl Clone for ChartMLSpec
Source§fn clone(&self) -> ChartMLSpec
fn clone(&self) -> ChartMLSpec
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ChartMLSpec
impl Debug for ChartMLSpec
Source§impl<'de> Deserialize<'de> for ChartMLSpec
impl<'de> Deserialize<'de> for ChartMLSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Auto Trait Implementations§
impl Freeze for ChartMLSpec
impl RefUnwindSafe for ChartMLSpec
impl Send for ChartMLSpec
impl Sync for ChartMLSpec
impl Unpin for ChartMLSpec
impl UnsafeUnpin for ChartMLSpec
impl UnwindSafe for ChartMLSpec
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