pub enum BulletMaterial {
Metal,
Stone,
Wood,
Flesh,
Glass,
Energy,
}Expand description
Material type for bullet impacts.
Variants§
Trait Implementations§
Source§impl Clone for BulletMaterial
impl Clone for BulletMaterial
Source§fn clone(&self) -> BulletMaterial
fn clone(&self) -> BulletMaterial
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 BulletMaterial
impl Debug for BulletMaterial
impl Copy for BulletMaterial
Auto Trait Implementations§
impl Freeze for BulletMaterial
impl RefUnwindSafe for BulletMaterial
impl Send for BulletMaterial
impl Sync for BulletMaterial
impl Unpin for BulletMaterial
impl UnsafeUnpin for BulletMaterial
impl UnwindSafe for BulletMaterial
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