Struct lu_formats::files::lvl::EnvironmentData
source · pub struct EnvironmentData {
pub ofs_lighting: u32,
pub ofs_skydome: u32,
pub ofs_editor_settings: u32,
}
Expand description
Fields§
§ofs_lighting: u32
§ofs_skydome: u32
§ofs_editor_settings: u32
Implementations§
source§impl EnvironmentData
impl EnvironmentData
pub fn parse_editor_settings<'a>( &self, _input: &'a [u8] ) -> IResult<&'a [u8], Option<EditorSettings>>
pub fn parse_lighting_info<'a>( &self, _input: &'a [u8] ) -> IResult<&'a [u8], LightingInfo>
pub fn parse_skydome_info<'a>( &self, _input: &'a [u8] ) -> IResult<&'a [u8], SkydomeInfo<'a>>
Trait Implementations§
source§impl Clone for EnvironmentData
impl Clone for EnvironmentData
source§fn clone(&self) -> EnvironmentData
fn clone(&self) -> EnvironmentData
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 Debug for EnvironmentData
impl Debug for EnvironmentData
source§impl<'de> Deserialize<'de> for EnvironmentData
impl<'de> Deserialize<'de> for EnvironmentData
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 PartialEq<EnvironmentData> for EnvironmentData
impl PartialEq<EnvironmentData> for EnvironmentData
source§fn eq(&self, other: &EnvironmentData) -> bool
fn eq(&self, other: &EnvironmentData) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl Serialize for EnvironmentData
impl Serialize for EnvironmentData
impl StructuralPartialEq for EnvironmentData
Auto Trait Implementations§
impl RefUnwindSafe for EnvironmentData
impl Send for EnvironmentData
impl Sync for EnvironmentData
impl Unpin for EnvironmentData
impl UnwindSafe for EnvironmentData
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