Enum vega_lite_4::Autosize
source · pub enum Autosize {
AutoSizeParams(AutoSizeParams),
Enum(AutosizeType),
}
Expand description
How the visualization size should be determined. If a string, should be one of "pad"
,
"fit"
or "none"
. Object values can additionally specify parameters for content sizing
and automatic resizing.
Default value: pad
Variants§
AutoSizeParams(AutoSizeParams)
Enum(AutosizeType)
Trait Implementations§
source§impl<'de> Deserialize<'de> for Autosize
impl<'de> Deserialize<'de> for Autosize
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<AutoSizeParams> for Autosize
impl From<AutoSizeParams> for Autosize
source§fn from(original: AutoSizeParams) -> Autosize
fn from(original: AutoSizeParams) -> Autosize
Converts to this type from the input type.
source§impl From<AutosizeType> for Autosize
impl From<AutosizeType> for Autosize
source§fn from(original: AutosizeType) -> Autosize
fn from(original: AutosizeType) -> Autosize
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for Autosize
impl Send for Autosize
impl Sync for Autosize
impl Unpin for Autosize
impl UnwindSafe for Autosize
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