[−]Struct lumol::ParticleKind
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
pub fn clone(&self) -> ParticleKind
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for ParticleKind
impl Debug for ParticleKind
impl Display for ParticleKind
impl Eq for ParticleKind
impl Hash for ParticleKind
pub fn hash<__H>(&self, state: &mut __H) where
__H: Hasher,
__H: Hasher,
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Ord for ParticleKind
pub fn cmp(&self, other: &ParticleKind) -> Ordering
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<ParticleKind> for ParticleKind
pub fn eq(&self, other: &ParticleKind) -> bool
pub fn ne(&self, other: &ParticleKind) -> bool
impl PartialOrd<ParticleKind> for ParticleKind
pub fn partial_cmp(&self, other: &ParticleKind) -> Option<Ordering>
pub fn lt(&self, other: &ParticleKind) -> bool
pub fn le(&self, other: &ParticleKind) -> bool
pub fn gt(&self, other: &ParticleKind) -> bool
pub fn ge(&self, other: &ParticleKind) -> bool
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Pointable for T
pub const ALIGN: usize
type Init = T
The type for initializers.
pub unsafe fn init(init: <T as Pointable>::Init) -> usize
pub unsafe fn deref<'a>(ptr: usize) -> &'a T
pub unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T
pub unsafe fn drop(ptr: usize)
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,