[−][src]Struct vega_lite_3::LegendLayoutBuilder
Builder for LegendLayout
.
Methods
impl LegendLayoutBuilder
[src]
pub fn anchor<VALUE: Into<TitleAnchor>>(&mut self, value: VALUE) -> &mut Self
[src]
The anchor point for legend orient group layout.
pub fn bottom<VALUE: Into<BaseLegendLayout>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn bottom_left<VALUE: Into<BaseLegendLayout>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn bottom_right<VALUE: Into<BaseLegendLayout>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn bounds<VALUE: Into<LayoutBounds>>(&mut self, value: VALUE) -> &mut Self
[src]
The bounds calculation to use for legend orient group layout.
pub fn center<VALUE: Into<BottomCenter>>(&mut self, value: VALUE) -> &mut Self
[src]
A flag to center legends within a shared orient group.
pub fn direction<VALUE: Into<Direction>>(&mut self, value: VALUE) -> &mut Self
[src]
The layout direction for legend orient group layout.
pub fn left<VALUE: Into<BaseLegendLayout>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn margin<VALUE: Into<Margin>>(&mut self, value: VALUE) -> &mut Self
[src]
The pixel margin between legends within a orient group.
pub fn offset<VALUE: Into<Margin>>(&mut self, value: VALUE) -> &mut Self
[src]
The pixel offset from the chart body for a legend orient group.
pub fn right<VALUE: Into<BaseLegendLayout>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn top<VALUE: Into<BaseLegendLayout>>(&mut self, value: VALUE) -> &mut Self
[src]
pub fn top_left<VALUE: Into<BaseLegendLayout>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn top_right<VALUE: Into<BaseLegendLayout>>(
&mut self,
value: VALUE
) -> &mut Self
[src]
&mut self,
value: VALUE
) -> &mut Self
pub fn build(&self) -> Result<LegendLayout, String>
[src]
Trait Implementations
impl Clone for LegendLayoutBuilder
[src]
fn clone(&self) -> LegendLayoutBuilder
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Default for LegendLayoutBuilder
[src]
fn default() -> LegendLayoutBuilder
[src]
Auto Trait Implementations
impl RefUnwindSafe for LegendLayoutBuilder
impl Send for LegendLayoutBuilder
impl Sync for LegendLayoutBuilder
impl Unpin for LegendLayoutBuilder
impl UnwindSafe for LegendLayoutBuilder
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,