Enum vega_lite_4::AutosizeType
source · pub enum AutosizeType {
Fit,
FitX,
FitY,
None,
Pad,
}
Expand description
The sizing format type. One of "pad"
, "fit"
, "fit-x"
, "fit-y"
, or "none"
. See
the autosize type
documentation for descriptions of each.
Default value: "pad"
Variants§
Trait Implementations§
source§impl Clone for AutosizeType
impl Clone for AutosizeType
source§fn clone(&self) -> AutosizeType
fn clone(&self) -> AutosizeType
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 AutosizeType
impl Debug for AutosizeType
source§impl<'de> Deserialize<'de> for AutosizeType
impl<'de> Deserialize<'de> for AutosizeType
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<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 AutosizeType
impl Send for AutosizeType
impl Sync for AutosizeType
impl Unpin for AutosizeType
impl UnwindSafe for AutosizeType
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