Struct lu_formats::files::lvl::ParticleData
source · pub struct ParticleData<'a> {
pub num_particles: u32,
pub particles: Vec<Particle<'a>>,
}
Expand description
Struct particle_data
Parser: parse_particle_data
Maybe parents
Depends on
_root: {
"fib_chunk": ObligationTree {
local: false,
inner: {
"data": ObligationTree {
local: false,
inner: {
"version": ObligationTree {
local: false,
inner: {},
},
},
},
},
},
}
Fields§
§num_particles: u32
§particles: Vec<Particle<'a>>
Repeat-Expr: num_particles
Trait Implementations§
source§impl<'a> Clone for ParticleData<'a>
impl<'a> Clone for ParticleData<'a>
source§fn clone(&self) -> ParticleData<'a>
fn clone(&self) -> ParticleData<'a>
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<'a> Debug for ParticleData<'a>
impl<'a> Debug for ParticleData<'a>
source§impl<'de, 'a> Deserialize<'de> for ParticleData<'a>
impl<'de, 'a> Deserialize<'de> for ParticleData<'a>
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl<'a> PartialEq<ParticleData<'a>> for ParticleData<'a>
impl<'a> PartialEq<ParticleData<'a>> for ParticleData<'a>
source§fn eq(&self, other: &ParticleData<'a>) -> bool
fn eq(&self, other: &ParticleData<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> Serialize for ParticleData<'a>
impl<'a> Serialize for ParticleData<'a>
impl<'a> StructuralPartialEq for ParticleData<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for ParticleData<'a>
impl<'a> Send for ParticleData<'a>
impl<'a> Sync for ParticleData<'a>
impl<'a> Unpin for ParticleData<'a>
impl<'a> UnwindSafe for ParticleData<'a>
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