pub enum SpawnShape {
Point,
Box {
half: [f32; 3],
},
Sphere {
radius: f32,
},
Disc {
radius: f32,
},
}Variants§
Trait Implementations§
Source§impl Clone for SpawnShape
impl Clone for SpawnShape
Source§fn clone(&self) -> SpawnShape
fn clone(&self) -> SpawnShape
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 SpawnShape
impl Debug for SpawnShape
Source§impl Default for SpawnShape
impl Default for SpawnShape
Source§fn default() -> SpawnShape
fn default() -> SpawnShape
Returns the “default value” for a type. Read more
Source§impl PartialEq for SpawnShape
impl PartialEq for SpawnShape
impl Copy for SpawnShape
impl StructuralPartialEq for SpawnShape
Auto Trait Implementations§
impl Freeze for SpawnShape
impl RefUnwindSafe for SpawnShape
impl Send for SpawnShape
impl Sync for SpawnShape
impl Unpin for SpawnShape
impl UnwindSafe for SpawnShape
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