Enum vega_lite_4::LayoutAlign
source · pub enum LayoutAlign {
All,
Each,
None,
}
Expand description
The alignment to apply to symbol legends rows and columns. The supported string values
are "all"
, "each"
(the default), and none
. For more information, see the grid
layout documentation.
Default value: "each"
.
The alignment to apply to row/column facet’s subplot. The supported string values are
"all"
, "each"
, and "none"
.
- For
"none"
, a flow layout will be used, in which adjacent subviews are simply placed one after the other. - For"each"
, subviews will be aligned into a clean grid structure, but each row or column may be of variable size. - For"all"
, subviews will be aligned and each row or column will be sized identically based on the maximum observed size. String values for this property will be applied to both grid rows and columns.
Default value: "all"
.
Variants§
Trait Implementations§
source§impl Clone for LayoutAlign
impl Clone for LayoutAlign
source§fn clone(&self) -> LayoutAlign
fn clone(&self) -> LayoutAlign
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 LayoutAlign
impl Debug for LayoutAlign
source§impl<'de> Deserialize<'de> for LayoutAlign
impl<'de> Deserialize<'de> for LayoutAlign
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<LayoutAlign> for GridAlign
impl From<LayoutAlign> for GridAlign
source§fn from(original: LayoutAlign) -> GridAlign
fn from(original: LayoutAlign) -> GridAlign
Converts to this type from the input type.
source§impl From<LayoutAlign> for VegaliteAlign
impl From<LayoutAlign> for VegaliteAlign
source§fn from(original: LayoutAlign) -> VegaliteAlign
fn from(original: LayoutAlign) -> VegaliteAlign
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for LayoutAlign
impl Send for LayoutAlign
impl Sync for LayoutAlign
impl Unpin for LayoutAlign
impl UnwindSafe for LayoutAlign
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