pub struct RangeStruct {
pub scan_start: u32,
pub scan_length: u32,
}Expand description
The scan range for acoustic measurements. Measurements returned by the device will lie in the range (scan_start, scan_start + scan_length).
Fields§
§scan_start: u32The beginning of the scan range in mm from the transducer.
scan_length: u32The length of the scan range.
Trait Implementations§
Source§impl Clone for RangeStruct
impl Clone for RangeStruct
Source§fn clone(&self) -> RangeStruct
fn clone(&self) -> RangeStruct
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 RangeStruct
impl Debug for RangeStruct
Source§impl Default for RangeStruct
impl Default for RangeStruct
Source§fn default() -> RangeStruct
fn default() -> RangeStruct
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RangeStruct
impl<'de> Deserialize<'de> for RangeStruct
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl DeserializePayload for RangeStruct
impl DeserializePayload for RangeStruct
fn deserialize(payload: &[u8]) -> Self
Source§impl PartialEq for RangeStruct
impl PartialEq for RangeStruct
Source§impl Serialize for RangeStruct
impl Serialize for RangeStruct
Source§impl SerializePayload for RangeStruct
impl SerializePayload for RangeStruct
impl StructuralPartialEq for RangeStruct
Auto Trait Implementations§
impl Freeze for RangeStruct
impl RefUnwindSafe for RangeStruct
impl Send for RangeStruct
impl Sync for RangeStruct
impl Unpin for RangeStruct
impl UnwindSafe for RangeStruct
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