pub enum StepPosition {
Start,
End,
None,
Both,
}Expand description
Where a steps curve rises, as the CSS steps() positions.
Variants§
Start
The first rise is at the start, so the curve never shows 0 (jump-start).
End
The last rise is at the end, so the curve never shows 1 before it (jump-end).
None
No rise at either end: the first step shows 0 and the last shows 1 (jump-none).
Both
A rise at both ends: the curve shows neither 0 nor 1 (jump-both).
Trait Implementations§
Source§impl Clone for StepPosition
impl Clone for StepPosition
impl Copy for StepPosition
Source§impl Debug for StepPosition
impl Debug for StepPosition
Source§impl Default for StepPosition
impl Default for StepPosition
Source§impl<'de> Deserialize<'de> for StepPosition
impl<'de> Deserialize<'de> for StepPosition
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
impl Eq for StepPosition
Source§impl PartialEq for StepPosition
impl PartialEq for StepPosition
Source§impl Serialize for StepPosition
impl Serialize for StepPosition
impl StructuralPartialEq for StepPosition
Auto Trait Implementations§
impl Forget for StepPosition
impl Freeze for StepPosition
impl Move for StepPosition
impl RefUnwindSafe for StepPosition
impl Send for StepPosition
impl Sync for StepPosition
impl Unpin for StepPosition
impl UnsafeUnpin for StepPosition
impl UnwindSafe for StepPosition
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