pub struct EmissionShape(pub i64);Tuple Fields§
§0: i64Implementations§
Source§impl EmissionShape
impl EmissionShape
pub const POINT: EmissionShape
pub const SPHERE: EmissionShape
pub const RECTANGLE: EmissionShape
pub const POINTS: EmissionShape
pub const DIRECTED_POINTS: EmissionShape
pub const MAX: EmissionShape
Trait Implementations§
Source§impl Clone for EmissionShape
impl Clone for EmissionShape
Source§fn clone(&self) -> EmissionShape
fn clone(&self) -> EmissionShape
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 EmissionShape
impl Debug for EmissionShape
Source§impl From<EmissionShape> for i64
impl From<EmissionShape> for i64
Source§fn from(v: EmissionShape) -> Self
fn from(v: EmissionShape) -> Self
Converts to this type from the input type.
Source§impl From<i64> for EmissionShape
impl From<i64> for EmissionShape
Source§impl FromVariant for EmissionShape
impl FromVariant for EmissionShape
fn from_variant(v: &Variant) -> Result<Self, FromVariantError>
Source§impl Hash for EmissionShape
impl Hash for EmissionShape
Source§impl Ord for EmissionShape
impl Ord for EmissionShape
Source§fn cmp(&self, other: &EmissionShape) -> Ordering
fn cmp(&self, other: &EmissionShape) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for EmissionShape
impl PartialEq for EmissionShape
Source§impl PartialOrd for EmissionShape
impl PartialOrd for EmissionShape
impl Copy for EmissionShape
impl Eq 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.