Struct lu_formats::files::luz::Scene
source · pub struct Scene<'a> {
pub scene_file_name: U1Str<'a>,
pub scene_id: Option<u32>,
pub layer_id: Option<u32>,
pub scene_display_name: Option<U1Str<'a>>,
pub unknown1: Option<Vector3>,
pub unknown2: Option<f32>,
pub scene_color: Option<U1Color>,
}
Expand description
Struct scene
Parser: parse_scene
Parents
Depends on
_root: {
"file_version": ObligationTree {
local: false,
inner: {},
},
}
Fields§
§scene_file_name: U1Str<'a>
§scene_id: Option<u32>
If: _root.file_version >= 33 or _root.file_version < 30
layer_id: Option<u32>
If: _root.file_version >= 33
scene_display_name: Option<U1Str<'a>>
If: _root.file_version >= 33
unknown1: Option<Vector3>
If: _root.file_version == 33
unknown2: Option<f32>
If: _root.file_version == 33
scene_color: Option<U1Color>
If: _root.file_version >= 33
Trait Implementations§
source§impl<'de, 'a> Deserialize<'de> for Scene<'a>
impl<'de, 'a> Deserialize<'de> for Scene<'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<Scene<'a>> for Scene<'a>
impl<'a> PartialEq<Scene<'a>> for Scene<'a>
impl<'a> StructuralPartialEq for Scene<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Scene<'a>
impl<'a> Send for Scene<'a>
impl<'a> Sync for Scene<'a>
impl<'a> Unpin for Scene<'a>
impl<'a> UnwindSafe for Scene<'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