#[non_exhaustive]pub enum BevyAnimationTargetIdError {
TooManySegments {
found: usize,
limit: usize,
},
SegmentTooLong {
found: usize,
limit: usize,
},
PathTooLong {
found: usize,
limit: usize,
},
SegmentLengthOverflow,
ArithmeticOverflow,
}Expand description
A bounded Bevy animation-target UUID could not be reproduced.
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.
TooManySegments
A path has more than 256 segments.
SegmentTooLong
One segment exceeds 1,024 UTF-8 bytes.
PathTooLong
The complete slash-delimited path exceeds 4,096 bytes.
SegmentLengthOverflow
A segment length cannot be represented at the selected target width.
ArithmeticOverflow
Checked bound arithmetic overflowed.
Trait Implementations§
Source§impl Clone for BevyAnimationTargetIdError
impl Clone for BevyAnimationTargetIdError
Source§fn clone(&self) -> BevyAnimationTargetIdError
fn clone(&self) -> BevyAnimationTargetIdError
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 moreSource§impl Debug for BevyAnimationTargetIdError
impl Debug for BevyAnimationTargetIdError
Source§impl Display for BevyAnimationTargetIdError
impl Display for BevyAnimationTargetIdError
impl Eq for BevyAnimationTargetIdError
Source§impl Error for BevyAnimationTargetIdError
impl Error for BevyAnimationTargetIdError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns the lower-level source of this error, if any. Read more
1.0.0 · Source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
impl StructuralPartialEq for BevyAnimationTargetIdError
Auto Trait Implementations§
impl Freeze for BevyAnimationTargetIdError
impl RefUnwindSafe for BevyAnimationTargetIdError
impl Send for BevyAnimationTargetIdError
impl Sync for BevyAnimationTargetIdError
impl Unpin for BevyAnimationTargetIdError
impl UnsafeUnpin for BevyAnimationTargetIdError
impl UnwindSafe for BevyAnimationTargetIdError
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