Enum zengine_physics::ShapeType
source · [−]Expand description
types of Shape
Variants
Circle
Fields
radius: f32
A circle with the given radius
Rectangle
A rectangle with the given width and height
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ShapeType
impl Send for ShapeType
impl Sync for ShapeType
impl Unpin for ShapeType
impl UnwindSafe for ShapeType
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