pub enum EmissionShape {
Point,
Rect {
width: f32,
height: f32,
},
Sphere {
radius: f32,
},
}
Variants§
Trait Implementations§
Source§impl Clone for EmissionShape
impl Clone for EmissionShape
Source§fn clone(&self) -> EmissionShape
fn clone(&self) -> EmissionShape
Returns a copy 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 EmissionShape
impl Debug for EmissionShape
Source§impl PartialEq for EmissionShape
impl PartialEq for EmissionShape
impl Copy for EmissionShape
impl StructuralPartialEq for EmissionShape
Auto Trait Implementations§
impl Freeze for EmissionShape
impl RefUnwindSafe for EmissionShape
impl Send for EmissionShape
impl Sync for EmissionShape
impl Unpin for EmissionShape
impl UnwindSafe for EmissionShape
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