pub struct UltrasoundBeamSummaryRecord {
pub position_m: [f32; 3],
pub center_frequency_hz: f32,
pub peak_rarefactional_pressure_pa: f32,
pub intensity_ispta_w_m2: f32,
pub mechanical_index: f32,
pub thermal_index: f32,
pub complex_envelope_iq: [f32; 2],
pub axial_velocity_m_s: f32,
pub harmonic_ratio_linear: f32,
pub validity_bits: u32,
pub acquisition_ref: u32,
}Expand description
Canonical 64-byte Q07 mode 0x0107 ultrasound beam summary record.
Fields§
§position_m: [f32; 3]§center_frequency_hz: f32§peak_rarefactional_pressure_pa: f32§intensity_ispta_w_m2: f32§mechanical_index: f32§thermal_index: f32§complex_envelope_iq: [f32; 2]§axial_velocity_m_s: f32§harmonic_ratio_linear: f32§validity_bits: u32§acquisition_ref: u32Implementations§
Source§impl UltrasoundBeamSummaryRecord
impl UltrasoundBeamSummaryRecord
pub fn validate(&self, externally_valid: bool) -> Result<(), ProfileError>
pub fn decode( bytes: &[u8], externally_valid: bool, ) -> Result<Self, ProfileError>
pub fn encode_into( &self, out: &mut [u8], externally_valid: bool, ) -> Result<(), ProfileError>
Trait Implementations§
Source§impl Clone for UltrasoundBeamSummaryRecord
impl Clone for UltrasoundBeamSummaryRecord
impl Copy for UltrasoundBeamSummaryRecord
Source§impl Debug for UltrasoundBeamSummaryRecord
impl Debug for UltrasoundBeamSummaryRecord
impl StructuralPartialEq for UltrasoundBeamSummaryRecord
Auto Trait Implementations§
impl Freeze for UltrasoundBeamSummaryRecord
impl RefUnwindSafe for UltrasoundBeamSummaryRecord
impl Send for UltrasoundBeamSummaryRecord
impl Sync for UltrasoundBeamSummaryRecord
impl Unpin for UltrasoundBeamSummaryRecord
impl UnsafeUnpin for UltrasoundBeamSummaryRecord
impl UnwindSafe for UltrasoundBeamSummaryRecord
Blanket Implementations§
§impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
impl<S, A> Aggregate<Result<S, Error>> for Awhere
A: Aggregate<S>,
Aggregate shares in an MPC protocol.
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
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> ⓘ
Converts
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> ⓘ
Converts
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 more