pub struct WavePacket {
pub descriptor_index: u8,
pub offset: u64,
pub length: u32,
pub return_point: f32,
pub x_t: f32,
pub y_t: f32,
pub z_t: f32,
}Expand description
A Waveform Packet of type 13 or 14
Fields§
§descriptor_index: u8Wave Packet Descriptor Index
offset: u64Byte offset to Waveform Packet Data
length: u32Waveform packet size in bytes
return_point: f32Return Point location
x_t: f32X
y_t: f32Y
z_t: f32Z
Implementations§
Trait Implementations§
Source§impl Clone for WavePacket
impl Clone for WavePacket
Source§fn clone(&self) -> WavePacket
fn clone(&self) -> WavePacket
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for WavePacket
impl Debug for WavePacket
Source§impl Default for WavePacket
impl Default for WavePacket
Source§fn default() -> WavePacket
fn default() -> WavePacket
Source§impl<'de> Deserialize<'de> for WavePacket
impl<'de> Deserialize<'de> for WavePacket
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>,
Source§impl From<&Map<String, PrimitiveValue>> for WavePacket
Starting from a ref to an ValuePrimitive, convert to a struct
impl From<&Map<String, PrimitiveValue>> for WavePacket
Starting from a ref to an ValuePrimitive, convert to a struct
Source§fn from(m: &ValuePrimitive) -> Self
fn from(m: &ValuePrimitive) -> Self
Source§impl From<&Map<String, ValueType>> for WavePacket
Starting from a ref to an MValue, convert to a struct
impl From<&Map<String, ValueType>> for WavePacket
Starting from a ref to an MValue, convert to a struct
Source§impl From<&ValuePrimitiveType> for WavePacketwhere
WavePacket: Default,
Starting from an ValuePrimitiveType ref, pull out the struct and apply the conversions
impl From<&ValuePrimitiveType> for WavePacketwhere
WavePacket: Default,
Starting from an ValuePrimitiveType ref, pull out the struct and apply the conversions
Source§fn from(m: &ValuePrimitiveType) -> Self
fn from(m: &ValuePrimitiveType) -> Self
Source§impl From<&ValueType> for WavePacket
If this struct ref is nested into another struct, pull out the MValue and let
From handle
impl From<&ValueType> for WavePacket
If this struct ref is nested into another struct, pull out the MValue and let
From
Source§impl From<Map<String, PrimitiveValue>> for WavePacket
Starting from an ValuePrimitive, convert to a struct
impl From<Map<String, PrimitiveValue>> for WavePacket
Starting from an ValuePrimitive, convert to a struct
Source§fn from(m: ValuePrimitive) -> Self
fn from(m: ValuePrimitive) -> Self
Source§impl From<ValuePrimitiveType> for WavePacketwhere
WavePacket: Default,
Starting from an ValuePrimitiveType, pull out the struct and apply the conversions
impl From<ValuePrimitiveType> for WavePacketwhere
WavePacket: Default,
Starting from an ValuePrimitiveType, pull out the struct and apply the conversions
Source§fn from(m: ValuePrimitiveType) -> Self
fn from(m: ValuePrimitiveType) -> Self
Source§impl From<ValueType> for WavePacket
If this struct is nested into another struct, pull out the MValue and let
From handle
impl From<ValueType> for WavePacket
If this struct is nested into another struct, pull out the MValue and let
From
Source§impl From<WavePacket> for ValuePrimitive
Starting from a struct, convert to an ValuePrimitive
impl From<WavePacket> for ValuePrimitive
Starting from a struct, convert to an ValuePrimitive
Source§fn from(value: WavePacket) -> ValuePrimitive
fn from(value: WavePacket) -> ValuePrimitive
Source§impl From<WavePacket> for MValue
Starting from a struct, convert to an MValue
impl From<WavePacket> for MValue
Starting from a struct, convert to an MValue
Source§fn from(value: WavePacket) -> MValue
fn from(value: WavePacket) -> MValue
Source§impl From<WavePacket> for ValuePrimitiveType
Starting from a struct, convert to an ValuePrimitiveType for Vec types
impl From<WavePacket> for ValuePrimitiveType
Starting from a struct, convert to an ValuePrimitiveType for Vec types
Source§fn from(m: WavePacket) -> Self
fn from(m: WavePacket) -> Self
Source§impl From<WavePacket> for ValueType
If this struct is nested into another struct, convert to a ValueType that’s nested
impl From<WavePacket> for ValueType
If this struct is nested into another struct, convert to a ValueType that’s nested
Source§fn from(value: WavePacket) -> ValueType
fn from(value: WavePacket) -> ValueType
Source§impl PartialEq for WavePacket
impl PartialEq for WavePacket
Source§impl Serialize for WavePacket
impl Serialize for WavePacket
impl MValueCompatible for WavePacket
Finally implement the MValueCompatible trait
impl StructuralPartialEq for WavePacket
Auto Trait Implementations§
impl Freeze for WavePacket
impl RefUnwindSafe for WavePacket
impl Send for WavePacket
impl Sync for WavePacket
impl Unpin for WavePacket
impl UnwindSafe for WavePacket
Blanket Implementations§
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
clone_to_uninit)Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§impl<T> Pointable for T
impl<T> Pointable for T
Source§impl<R, P> ReadPrimitive<R> for P
impl<R, P> ReadPrimitive<R> for P
Source§fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
fn read_from_little_endian(read: &mut R) -> Result<Self, Error>
ReadEndian::read_from_little_endian().