#[non_exhaustive]pub enum ConstantTrackRetentionReason {
ProtectedBone,
InvalidTarget,
SamplingUnavailable,
PoseChanged,
LastWritableTrack,
}Expand description
Reason a constant-track candidate was not removed.
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.
ProtectedBone
The caller identifies this bone as a required authored channel.
InvalidTarget
The track targets no bone in the supplied skeleton.
The original or a trial clip cannot be safely sampled.
PoseChanged
Removing the track changes sampled local TRS or model-space pose data.
LastWritableTrack
Removing the track would leave no writable track in the clip.
Trait Implementations§
Source§impl Clone for ConstantTrackRetentionReason
impl Clone for ConstantTrackRetentionReason
Source§fn clone(&self) -> ConstantTrackRetentionReason
fn clone(&self) -> ConstantTrackRetentionReason
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ConstantTrackRetentionReason
Source§impl Debug for ConstantTrackRetentionReason
impl Debug for ConstantTrackRetentionReason
impl Eq for ConstantTrackRetentionReason
impl StructuralPartialEq for ConstantTrackRetentionReason
Auto Trait Implementations§
impl Freeze for ConstantTrackRetentionReason
impl RefUnwindSafe for ConstantTrackRetentionReason
impl Send for ConstantTrackRetentionReason
impl Sync for ConstantTrackRetentionReason
impl Unpin for ConstantTrackRetentionReason
impl UnsafeUnpin for ConstantTrackRetentionReason
impl UnwindSafe for ConstantTrackRetentionReason
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