#[non_exhaustive]pub enum StepMode {
Start,
End,
}
Expand description
Change the value transition of a step function.
See TimelineExt::set_step_progress
.
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Start
The change in the value of a
CLUTTER_STEP
progress mode should occur at the start of
the transition
End
The change in the value of a
CLUTTER_STEP
progress mode should occur at the end of
the transition
Trait Implementations§
Source§impl<'a> FromValue<'a> for StepMode
impl<'a> FromValue<'a> for StepMode
Source§unsafe fn from_value(value: &Value) -> Self
unsafe fn from_value(value: &Value) -> Self
Safety Read more
Source§impl<'a> FromValueOptional<'a> for StepMode
impl<'a> FromValueOptional<'a> for StepMode
Source§impl Ord for StepMode
impl Ord for StepMode
Source§impl PartialOrd for StepMode
impl PartialOrd for StepMode
Source§impl StaticType for StepMode
impl StaticType for StepMode
Source§fn static_type() -> Type
fn static_type() -> Type
Returns the type identifier of
Self
.impl Copy for StepMode
impl Eq for StepMode
impl StructuralPartialEq for StepMode
Auto Trait Implementations§
impl Freeze for StepMode
impl RefUnwindSafe for StepMode
impl Send for StepMode
impl Sync for StepMode
impl Unpin for StepMode
impl UnwindSafe for StepMode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> ToSendValue for T
impl<T> ToSendValue for T
Source§fn to_send_value(&self) -> SendValue
fn to_send_value(&self) -> SendValue
Returns a
SendValue
clone of self
.