#[repr(u32)]pub enum SpriteCollisionResponseType {
kCollisionTypeSlide,
kCollisionTypeFreeze,
kCollisionTypeOverlap,
kCollisionTypeBounce,
}
Variants§
Trait Implementations§
source§impl Clone for SpriteCollisionResponseType
impl Clone for SpriteCollisionResponseType
source§fn clone(&self) -> SpriteCollisionResponseType
fn clone(&self) -> SpriteCollisionResponseType
Returns a copy 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 SpriteCollisionResponseType
impl Debug for SpriteCollisionResponseType
source§impl Hash for SpriteCollisionResponseType
impl Hash for SpriteCollisionResponseType
source§impl PartialEq<SpriteCollisionResponseType> for SpriteCollisionResponseType
impl PartialEq<SpriteCollisionResponseType> for SpriteCollisionResponseType
source§fn eq(&self, other: &SpriteCollisionResponseType) -> bool
fn eq(&self, other: &SpriteCollisionResponseType) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for SpriteCollisionResponseType
impl Eq for SpriteCollisionResponseType
impl StructuralEq for SpriteCollisionResponseType
impl StructuralPartialEq for SpriteCollisionResponseType
Auto Trait Implementations§
impl RefUnwindSafe for SpriteCollisionResponseType
impl Send for SpriteCollisionResponseType
impl Sync for SpriteCollisionResponseType
impl Unpin for SpriteCollisionResponseType
impl UnwindSafe for SpriteCollisionResponseType
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