pub enum CollisionResponse {
Bounce,
Slide,
Stick,
Die,
Split,
Shatter,
Embed,
Sleep,
Promote,
TriggerSubEmitter,
}Expand description
Collision response behavior.
Variants§
Implementations§
Source§impl CollisionResponse
impl CollisionResponse
pub const ALL: &[CollisionResponse]
Trait Implementations§
Source§impl Clone for CollisionResponse
impl Clone for CollisionResponse
Source§fn clone(&self) -> CollisionResponse
fn clone(&self) -> CollisionResponse
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 CollisionResponse
impl Debug for CollisionResponse
Source§impl<'de> Deserialize<'de> for CollisionResponse
impl<'de> Deserialize<'de> for CollisionResponse
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for CollisionResponse
impl Hash for CollisionResponse
Source§impl PartialEq for CollisionResponse
impl PartialEq for CollisionResponse
Source§impl Serialize for CollisionResponse
impl Serialize for CollisionResponse
impl Copy for CollisionResponse
impl Eq for CollisionResponse
impl StructuralPartialEq for CollisionResponse
Auto Trait Implementations§
impl Freeze for CollisionResponse
impl RefUnwindSafe for CollisionResponse
impl Send for CollisionResponse
impl Sync for CollisionResponse
impl Unpin for CollisionResponse
impl UnsafeUnpin for CollisionResponse
impl UnwindSafe for CollisionResponse
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