pub enum OverridePriority {
OverwriteOnNextKeyframe,
HoldUntilNextAnimation,
Permanent,
}Expand description
How long an override outlives the keyframes it beats.
Visibility has no priority: a force-hide always wins, and is always cleared when a new animation is set up.
Variants§
OverwriteOnNextKeyframe
Holds until the animation next drives that attribute, so it shows only on frames the animation leaves alone.
HoldUntilNextAnimation
Holds for the current animation, and is cleared when another is set up.
Permanent
Holds for as long as the same pack is playing, surviving animation changes.
Implementations§
Source§impl OverridePriority
impl OverridePriority
Sourcepub fn as_wire(self) -> u8
pub fn as_wire(self) -> u8
See BlendOp::as_wire.
Sourcepub fn from_wire(value: u8) -> Option<Self>
pub fn from_wire(value: u8) -> Option<Self>
See BlendOp::from_wire.
Trait Implementations§
Source§impl Clone for OverridePriority
impl Clone for OverridePriority
impl Copy for OverridePriority
Source§impl Debug for OverridePriority
impl Debug for OverridePriority
Source§impl Default for OverridePriority
impl Default for OverridePriority
impl Eq for OverridePriority
Source§impl PartialEq for OverridePriority
impl PartialEq for OverridePriority
impl StructuralPartialEq for OverridePriority
Auto Trait Implementations§
impl Freeze for OverridePriority
impl RefUnwindSafe for OverridePriority
impl Send for OverridePriority
impl Sync for OverridePriority
impl Unpin for OverridePriority
impl UnsafeUnpin for OverridePriority
impl UnwindSafe for OverridePriority
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.