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
source§fn eq(&self, other: &EmissionShape) -> bool
fn eq(&self, other: &EmissionShape) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for EmissionShape
impl StructuralPartialEq for EmissionShape
Auto Trait Implementations§
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