Enum spatial_table::UpdateError
source · [−]pub enum UpdateError {
OccupiedBy(Entity),
DestinationOutOfBounds,
}
Variants
OccupiedBy(Entity)
DestinationOutOfBounds
Implementations
sourceimpl UpdateError
impl UpdateError
pub fn unwrap_occupied_by(self) -> Entity
Trait Implementations
sourceimpl Clone for UpdateError
impl Clone for UpdateError
sourcefn clone(&self) -> UpdateError
fn clone(&self) -> UpdateError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for UpdateError
impl Debug for UpdateError
sourceimpl PartialEq<UpdateError> for UpdateError
impl PartialEq<UpdateError> for UpdateError
sourcefn eq(&self, other: &UpdateError) -> bool
fn eq(&self, other: &UpdateError) -> bool
impl Copy for UpdateError
impl Eq for UpdateError
impl StructuralEq for UpdateError
impl StructuralPartialEq for UpdateError
Auto Trait Implementations
impl RefUnwindSafe for UpdateError
impl Send for UpdateError
impl Sync for UpdateError
impl Unpin for UpdateError
impl UnwindSafe for UpdateError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more