Struct lu_formats::files::luz::RailWaypointData
source · pub struct RailWaypointData<'a> {
pub rotation: QuaternionWxyz,
pub speed: Option<f32>,
pub config: Lnv<'a>,
}
Expand description
Struct rail_waypoint_data
Parser: parse_rail_waypoint_data
Maybe parents
Depends on
_parent: {
"_parent": ObligationTree {
local: false,
inner: {
"version": ObligationTree {
local: false,
inner: {},
},
},
},
}
Fields§
§rotation: QuaternionWxyz
§speed: Option<f32>
If: _parent._parent.version > 16
config: Lnv<'a>
Trait Implementations§
source§impl<'a> Clone for RailWaypointData<'a>
impl<'a> Clone for RailWaypointData<'a>
source§fn clone(&self) -> RailWaypointData<'a>
fn clone(&self) -> RailWaypointData<'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 RailWaypointData<'a>
impl<'a> Debug for RailWaypointData<'a>
source§impl<'de, 'a> Deserialize<'de> for RailWaypointData<'a>
impl<'de, 'a> Deserialize<'de> for RailWaypointData<'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<RailWaypointData<'a>> for RailWaypointData<'a>
impl<'a> PartialEq<RailWaypointData<'a>> for RailWaypointData<'a>
source§fn eq(&self, other: &RailWaypointData<'a>) -> bool
fn eq(&self, other: &RailWaypointData<'a>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<'a> Serialize for RailWaypointData<'a>
impl<'a> Serialize for RailWaypointData<'a>
impl<'a> IWaypointData for RailWaypointData<'a>
impl<'a> StructuralPartialEq for RailWaypointData<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for RailWaypointData<'a>
impl<'a> Send for RailWaypointData<'a>
impl<'a> Sync for RailWaypointData<'a>
impl<'a> Unpin for RailWaypointData<'a>
impl<'a> UnwindSafe for RailWaypointData<'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