Enum vega_lite_4::GridWidthUnion
source · pub enum GridWidthUnion {
Double(f64),
GridWidthExprRef(GridWidthExprRef),
}
Variants§
Double(f64)
GridWidthExprRef(GridWidthExprRef)
Trait Implementations§
source§impl Clone for GridWidthUnion
impl Clone for GridWidthUnion
source§fn clone(&self) -> GridWidthUnion
fn clone(&self) -> GridWidthUnion
Returns a copy 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 GridWidthUnion
impl Debug for GridWidthUnion
source§impl<'de> Deserialize<'de> for GridWidthUnion
impl<'de> Deserialize<'de> for GridWidthUnion
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
source§impl From<GridWidthExprRef> for GridWidthUnion
impl From<GridWidthExprRef> for GridWidthUnion
source§fn from(original: GridWidthExprRef) -> GridWidthUnion
fn from(original: GridWidthExprRef) -> GridWidthUnion
Converts to this type from the input type.
source§impl From<f64> for GridWidthUnion
impl From<f64> for GridWidthUnion
source§fn from(original: f64) -> GridWidthUnion
fn from(original: f64) -> GridWidthUnion
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for GridWidthUnion
impl Send for GridWidthUnion
impl Sync for GridWidthUnion
impl Unpin for GridWidthUnion
impl UnwindSafe for GridWidthUnion
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