Struct lu_packets::raknet::client::replica::moving_platform::PlatformMoverInfo
source · [−]pub struct PlatformMoverInfo {
pub state: u32,
pub desired_waypoint_index: i32,
pub stop_at_desired_waypoint: bool,
pub is_in_reverse: bool,
pub percent_to_next_waypoint: f32,
pub position: Vector3,
pub current_waypoint_index: u32,
pub next_waypoint_index: u32,
pub idle_time_elapsed: f32,
pub move_time_elapsed: f32,
}
Fields
state: u32
todo: bitfield
desired_waypoint_index: i32
todo: u32 with special case for -1
stop_at_desired_waypoint: bool
is_in_reverse: bool
percent_to_next_waypoint: f32
position: Vector3
not completely sure what this position is
current_waypoint_index: u32
next_waypoint_index: u32
idle_time_elapsed: f32
move_time_elapsed: f32
Trait Implementations
sourceimpl Debug for PlatformMoverInfo
impl Debug for PlatformMoverInfo
sourceimpl<__READER: Read> Deserialize<LittleEndian, BitReader<BigEndian, __READER>> for PlatformMoverInfo
impl<__READER: Read> Deserialize<LittleEndian, BitReader<BigEndian, __READER>> for PlatformMoverInfo
sourcefn deserialize(reader: &mut BEBitReader<__READER>) -> Result<Self>
fn deserialize(reader: &mut BEBitReader<__READER>) -> Result<Self>
Deserializes the type by reading from the reader.
sourceimpl PartialEq<PlatformMoverInfo> for PlatformMoverInfo
impl PartialEq<PlatformMoverInfo> for PlatformMoverInfo
sourcefn eq(&self, other: &PlatformMoverInfo) -> bool
fn eq(&self, other: &PlatformMoverInfo) -> bool
sourceimpl<'__LIFETIME, __WRITER: Write> Serialize<LittleEndian, BitWriter<BigEndian, __WRITER>> for &'__LIFETIME PlatformMoverInfo
impl<'__LIFETIME, __WRITER: Write> Serialize<LittleEndian, BitWriter<BigEndian, __WRITER>> for &'__LIFETIME PlatformMoverInfo
impl StructuralPartialEq for PlatformMoverInfo
Auto Trait Implementations
impl RefUnwindSafe for PlatformMoverInfo
impl Send for PlatformMoverInfo
impl Sync for PlatformMoverInfo
impl Unpin for PlatformMoverInfo
impl UnwindSafe for PlatformMoverInfo
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more