pub enum ColliderShape {
Aabb,
Circle,
}Expand description
Represents the geometric shape of a collider.
Variants§
Trait Implementations§
Source§impl Clone for ColliderShape
impl Clone for ColliderShape
Source§fn clone(&self) -> ColliderShape
fn clone(&self) -> ColliderShape
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 ColliderShape
Source§impl Debug for ColliderShape
impl Debug for ColliderShape
Source§impl Default for ColliderShape
impl Default for ColliderShape
Source§fn default() -> ColliderShape
fn default() -> ColliderShape
Returns the “default value” for a type. Read more
Source§impl PartialEq for ColliderShape
impl PartialEq for ColliderShape
Source§fn eq(&self, other: &ColliderShape) -> bool
fn eq(&self, other: &ColliderShape) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ColliderShape
Auto Trait Implementations§
impl Freeze for ColliderShape
impl RefUnwindSafe for ColliderShape
impl Send for ColliderShape
impl Sync for ColliderShape
impl Unpin for ColliderShape
impl UnsafeUnpin for ColliderShape
impl UnwindSafe for ColliderShape
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