[]Struct lumol::ParticleKind

pub struct ParticleKind(pub u32);

A particle kind. Particles with the same name will have the same kind. This is used for faster potential lookup.

Implementations

impl ParticleKind

pub fn invalid() -> ParticleKind

Get an invalid value (u32::max_value()) to use as a marker

Trait Implementations

impl Clone for ParticleKind

impl Copy for ParticleKind

impl Debug for ParticleKind

impl Display for ParticleKind

impl Eq for ParticleKind

impl Hash for ParticleKind

impl Ord for ParticleKind

impl PartialEq<ParticleKind> for ParticleKind

impl PartialOrd<ParticleKind> for ParticleKind

impl StructuralEq for ParticleKind

impl StructuralPartialEq for ParticleKind

Auto Trait Implementations

impl RefUnwindSafe for ParticleKind

impl Send for ParticleKind

impl Sync for ParticleKind

impl Unpin for ParticleKind

impl UnwindSafe for ParticleKind

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Pointable for T

type Init = T

The type for initializers.

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,