pub enum UpdateLayerError {
OccupiedBy(Entity),
EntityHasNoCoord,
}
Variants§
Implementations§
Source§impl UpdateLayerError
impl UpdateLayerError
pub fn unwrap_occupied_by(self) -> Entity
Trait Implementations§
Source§impl Clone for UpdateLayerError
impl Clone for UpdateLayerError
Source§fn clone(&self) -> UpdateLayerError
fn clone(&self) -> UpdateLayerError
Returns a duplicate of the value. Read more
1.0.0 · 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 UpdateLayerError
impl Debug for UpdateLayerError
Source§impl PartialEq for UpdateLayerError
impl PartialEq for UpdateLayerError
impl Copy for UpdateLayerError
impl Eq for UpdateLayerError
impl StructuralPartialEq for UpdateLayerError
Auto Trait Implementations§
impl Freeze for UpdateLayerError
impl RefUnwindSafe for UpdateLayerError
impl Send for UpdateLayerError
impl Sync for UpdateLayerError
impl Unpin for UpdateLayerError
impl UnwindSafe for UpdateLayerError
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