Struct lu_formats::files::luz::Path
source · pub struct Path<'a> {
pub version: u32,
pub name: U1Wstr<'a>,
pub type_name: Option<U1Wstr<'a>>,
pub type: PathType,
pub flags: u32,
pub behavior: PathBehavior,
pub data: PathDataVariants<'a>,
pub num_waypoints: u32,
pub waypoints: Vec<Waypoint<WaypointDataVariants<'a>>>,
}
Expand description
Fields§
§version: u32
§name: U1Wstr<'a>
§type_name: Option<U1Wstr<'a>>
If: version <= 2
type: PathType
Enum: path_type
flags: u32
§behavior: PathBehavior
Enum: path_behavior
data: PathDataVariants<'a>
§num_waypoints: u32
§waypoints: Vec<Waypoint<WaypointDataVariants<'a>>>
Repeat-Expr: num_waypoints
Trait Implementations§
source§impl<'de, 'a> Deserialize<'de> for Path<'a>
impl<'de, 'a> Deserialize<'de> for Path<'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<Path<'a>> for Path<'a>
impl<'a> PartialEq<Path<'a>> for Path<'a>
impl<'a> StructuralPartialEq for Path<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Path<'a>
impl<'a> Send for Path<'a>
impl<'a> Sync for Path<'a>
impl<'a> Unpin for Path<'a>
impl<'a> UnwindSafe for Path<'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