Enum vega_lite_4::StackOffset
source · pub enum StackOffset {
Center,
Normalize,
Zero,
}
Expand description
Mode for stacking marks. One of "zero"
(default), "center"
, or "normalize"
. The
"zero"
offset will stack starting at 0
. The "center"
offset will center the stacks.
The "normalize"
offset will compute percentage values for each stack point, with output
values in the range [0,1]
.
Default value: "zero"
Variants§
Trait Implementations§
source§impl Clone for StackOffset
impl Clone for StackOffset
source§fn clone(&self) -> StackOffset
fn clone(&self) -> StackOffset
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 StackOffset
impl Debug for StackOffset
source§impl<'de> Deserialize<'de> for StackOffset
impl<'de> Deserialize<'de> for StackOffset
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<StackOffset> for Stack
impl From<StackOffset> for Stack
source§fn from(original: StackOffset) -> Stack
fn from(original: StackOffset) -> Stack
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for StackOffset
impl Send for StackOffset
impl Sync for StackOffset
impl Unpin for StackOffset
impl UnwindSafe for StackOffset
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