pub enum EmitterShape {
Point,
Sphere {
radius: f32,
},
}Variants§
Trait Implementations§
Source§impl Clone for EmitterShape
impl Clone for EmitterShape
Source§fn clone(&self) -> EmitterShape
fn clone(&self) -> EmitterShape
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 EmitterShape
impl Debug for EmitterShape
Source§impl<'de> Deserialize<'de> for EmitterShape
impl<'de> Deserialize<'de> for EmitterShape
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
Auto Trait Implementations§
impl Freeze for EmitterShape
impl RefUnwindSafe for EmitterShape
impl Send for EmitterShape
impl Sync for EmitterShape
impl Unpin for EmitterShape
impl UnsafeUnpin for EmitterShape
impl UnwindSafe for EmitterShape
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