pub struct MinefieldQueryPdu {
pub minefield_id: MinefieldIdentifier,
pub requesting_entity_id: EntityId,
pub request_id: u8,
pub number_of_perimeter_points: u8,
pub number_of_sensor_types: u8,
pub data_filter: u32,
pub requested_mine_type: EntityType,
pub requested_perimeter_points: Vec<Point>,
pub sensor_types: Vec<MinefieldSensorTypes>,
/* private fields */
}Expand description
Implemented according to IEEE 1278.1-2012 §7.9.3
Fields§
§minefield_id: MinefieldIdentifier§requesting_entity_id: EntityId§request_id: u8§number_of_perimeter_points: u8§number_of_sensor_types: u8§data_filter: u32§requested_mine_type: EntityType§requested_perimeter_points: Vec<Point>§sensor_types: Vec<MinefieldSensorTypes>Implementations§
Trait Implementations§
Source§impl Debug for MinefieldQueryPdu
impl Debug for MinefieldQueryPdu
Source§impl Default for MinefieldQueryPdu
impl Default for MinefieldQueryPdu
Source§impl Pdu for MinefieldQueryPdu
impl Pdu for MinefieldQueryPdu
type Header = PduHeader
fn header(&self) -> &Self::Header
fn header_mut(&mut self) -> &mut Self::Header
Source§fn deserialize<B: Buf>(buf: &mut B) -> Result<Self, DISError>where
Self: Sized,
fn deserialize<B: Buf>(buf: &mut B) -> Result<Self, DISError>where
Self: Sized,
Errors Read more
Source§fn deserialize_without_header<B: Buf>(
buf: &mut B,
header: Self::Header,
) -> Result<Self, DISError>where
Self: Sized,
fn deserialize_without_header<B: Buf>(
buf: &mut B,
header: Self::Header,
) -> Result<Self, DISError>where
Self: Sized,
Errors Read more
fn as_any(&self) -> &dyn Any
fn finalize(&mut self)
Auto Trait Implementations§
impl Freeze for MinefieldQueryPdu
impl RefUnwindSafe for MinefieldQueryPdu
impl Send for MinefieldQueryPdu
impl Sync for MinefieldQueryPdu
impl Unpin for MinefieldQueryPdu
impl UnwindSafe for MinefieldQueryPdu
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