pub enum RemoveError {
OutOfRange,
AlreadyRemoved,
}Expand description
Why DecalSet::remove rejected an id.
Variants§
OutOfRange
No slot has ever been handed out under this id.
AlreadyRemoved
The id names a slot an earlier remove already tombstoned.
Trait Implementations§
Source§impl Clone for RemoveError
impl Clone for RemoveError
Source§fn clone(&self) -> RemoveError
fn clone(&self) -> RemoveError
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 RemoveError
Source§impl Debug for RemoveError
impl Debug for RemoveError
Source§impl Display for RemoveError
impl Display for RemoveError
impl Eq for RemoveError
Source§impl PartialEq for RemoveError
impl PartialEq for RemoveError
impl StructuralPartialEq for RemoveError
Auto Trait Implementations§
impl Freeze for RemoveError
impl RefUnwindSafe for RemoveError
impl Send for RemoveError
impl Sync for RemoveError
impl Unpin for RemoveError
impl UnsafeUnpin for RemoveError
impl UnwindSafe for RemoveError
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.