pub struct MinefieldStatePdu {Show 13 fields
pub pdu_header: PduHeader,
pub minefield_id: MinefieldIdentifier,
pub minefield_sequence: u16,
pub force_id: u8,
pub number_of_perimeter_points: u8,
pub minefield_type: EntityType,
pub number_of_mine_types: u16,
pub minefield_location: Vector3Double,
pub minefield_orientation: EulerAngles,
pub appearance: u16,
pub protocol_mode: u16,
pub perimeter_points: Vec<Point>,
pub mine_type: Vec<EntityType>,
}
Expand description
Implemented according to IEEE 1278.1-2012 §7.9.2
Fields§
§pdu_header: PduHeader
§minefield_id: MinefieldIdentifier
§minefield_sequence: u16
§force_id: u8
§number_of_perimeter_points: u8
§minefield_type: EntityType
§number_of_mine_types: u16
§minefield_location: Vector3Double
§minefield_orientation: EulerAngles
§appearance: u16
§protocol_mode: u16
§perimeter_points: Vec<Point>
§mine_type: Vec<EntityType>
Trait Implementations§
Source§impl Clone for MinefieldStatePdu
impl Clone for MinefieldStatePdu
Source§fn clone(&self) -> MinefieldStatePdu
fn clone(&self) -> MinefieldStatePdu
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 MinefieldStatePdu
impl Debug for MinefieldStatePdu
Source§impl Default for MinefieldStatePdu
impl Default for MinefieldStatePdu
Auto Trait Implementations§
impl Freeze for MinefieldStatePdu
impl RefUnwindSafe for MinefieldStatePdu
impl Send for MinefieldStatePdu
impl Sync for MinefieldStatePdu
impl Unpin for MinefieldStatePdu
impl UnwindSafe for MinefieldStatePdu
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