[]Struct lumol::sys::ParticleRefMut

pub struct ParticleRefMut<'a> {
    pub name: &'a mut String,
    pub kind: &'a mut ParticleKind,
    pub charge: &'a mut f64,
    pub mass: &'a mut f64,
    pub position: &'a mut Vector3D,
    pub velocity: &'a mut Vector3D,
}

A mutable reference to a Particle with struct of array layout.

Fields

A mutable reference to a name from a ParticleVec

A mutable reference to a kind from a ParticleVec

A mutable reference to a charge from a ParticleVec

A mutable reference to a mass from a ParticleVec

A mutable reference to a position from a ParticleVec

A mutable reference to a velocity from a ParticleVec

Methods

impl<'a> ParticleRefMut<'a>

Convert a ParticleRefMut to a ParticlePtr ; i.e. do a &mut T as *const T transformation

Convert a ParticleRefMut to a ParticlePtrMut ; i.e. do a &mut T as *mut T transformation

Trait Implementations

impl<'a> Debug for ParticleRefMut<'a>

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> Send for ParticleRefMut<'a>

impl<'a> Sync for ParticleRefMut<'a>

Blanket Implementations

impl<T> From for T
[src]

Performs the conversion.

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

Performs the conversion.

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Important traits for &'a mut R

Immutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (try_from)

The type returned in the event of a conversion error.

🔬 This is a nightly-only experimental API. (try_from)

Performs the conversion.

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

Important traits for &'a mut R

Mutably borrows from an owned value. Read more

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

🔬 This is a nightly-only experimental API. (get_type_id)

this method will likely be replaced by an associated static

Gets the TypeId of self. Read more