pub struct MinefieldDataPdu {Show 15 fields
pub pdu_header: PduHeader,
pub minefield_id: EntityId,
pub requesting_entity_id: EntityId,
pub minefield_sequence_number: u16,
pub request_id: u8,
pub pdu_sequence_number: u8,
pub number_of_pdus: u8,
pub number_of_mines_in_this_pdu: u8,
pub number_of_sensor_types: u8,
pub pad2: u8,
pub data_filter: u32,
pub mine_type: EntityType,
pub sensor_types: Vec<u16>,
pub pad3: u8,
pub mine_location: Vec<Vector3Float>,
}Expand description
Implemented according to IEEE 1278.1-2012 §7.9.4
Fields§
§pdu_header: PduHeader§minefield_id: EntityId§requesting_entity_id: EntityId§minefield_sequence_number: u16§request_id: u8§pdu_sequence_number: u8§number_of_pdus: u8§number_of_mines_in_this_pdu: u8§number_of_sensor_types: u8§pad2: u8§data_filter: u32§mine_type: EntityType§sensor_types: Vec<u16>§pad3: u8§mine_location: Vec<Vector3Float>Trait Implementations§
Source§impl Clone for MinefieldDataPdu
impl Clone for MinefieldDataPdu
Source§fn clone(&self) -> MinefieldDataPdu
fn clone(&self) -> MinefieldDataPdu
Returns a duplicate 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 MinefieldDataPdu
impl Debug for MinefieldDataPdu
Source§impl Default for MinefieldDataPdu
impl Default for MinefieldDataPdu
Auto Trait Implementations§
impl Freeze for MinefieldDataPdu
impl RefUnwindSafe for MinefieldDataPdu
impl Send for MinefieldDataPdu
impl Sync for MinefieldDataPdu
impl Unpin for MinefieldDataPdu
impl UnwindSafe for MinefieldDataPdu
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