Enum vega_lite_4::LegendOrient
source · pub enum LegendOrient {
Bottom,
BottomLeft,
BottomRight,
Left,
None,
Right,
Top,
TopLeft,
TopRight,
}
Expand description
The orientation of the legend, which determines how the legend is positioned within the
scene. One of "left"
, "right"
, "top"
, "bottom"
, "top-left"
, "top-right"
,
"bottom-left"
, "bottom-right"
, "none"
.
Default value: "right"
Variants§
Trait Implementations§
source§impl Clone for LegendOrient
impl Clone for LegendOrient
source§fn clone(&self) -> LegendOrient
fn clone(&self) -> LegendOrient
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 LegendOrient
impl Debug for LegendOrient
source§impl<'de> Deserialize<'de> for LegendOrient
impl<'de> Deserialize<'de> for LegendOrient
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 RefUnwindSafe for LegendOrient
impl Send for LegendOrient
impl Sync for LegendOrient
impl Unpin for LegendOrient
impl UnwindSafe for LegendOrient
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