pub struct Spec {
pub data: Option<Data>,
pub mark: Mark,
pub encoding: Encoding,
pub title: Option<String>,
pub width: Option<usize>,
pub height: Option<usize>,
}Fields§
§data: Option<Data>Optional: rows may instead arrive on stdin. ingest::resolve enforces
that data is present in exactly one place.
mark: Mark§encoding: Encoding§title: Option<String>§width: Option<usize>Plot area width in terminal cells (not total output width).
height: Option<usize>Plot area height in terminal cells.
Trait Implementations§
Source§impl<'de> Deserialize<'de> for Spec
impl<'de> Deserialize<'de> for Spec
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 Spec
impl RefUnwindSafe for Spec
impl Send for Spec
impl Sync for Spec
impl Unpin for Spec
impl UnsafeUnpin for Spec
impl UnwindSafe for Spec
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