Struct lu_formats::files::lvl::Particle
source · pub struct Particle<'a> {
pub priority: Option<u16>,
pub position: Vector3,
pub rotation: QuaternionWxyz,
pub effect_names: U4Wstr<'a>,
pub null_terminator: Option<()>,
pub config_data: U4Wstr<'a>,
}
Expand description
Struct particle
Parser: parse_particle
Parents
Depends on
_root: {
"fib_chunk": ObligationTree {
local: false,
inner: {
"data": ObligationTree {
local: false,
inner: {
"version": ObligationTree {
local: false,
inner: {},
},
},
},
},
},
}
Fields§
§priority: Option<u16>
If: _root.fib_chunk.data.version >= 43
position: Vector3
§rotation: QuaternionWxyz
§effect_names: U4Wstr<'a>
§null_terminator: Option<()>
If: _root.fib_chunk.data.version < 46
config_data: U4Wstr<'a>
Trait Implementations§
source§impl<'de, 'a> Deserialize<'de> for Particle<'a>
impl<'de, 'a> Deserialize<'de> for Particle<'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<Particle<'a>> for Particle<'a>
impl<'a> PartialEq<Particle<'a>> for Particle<'a>
impl<'a> StructuralPartialEq for Particle<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Particle<'a>
impl<'a> Send for Particle<'a>
impl<'a> Sync for Particle<'a>
impl<'a> Unpin for Particle<'a>
impl<'a> UnwindSafe for Particle<'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