pub struct PulseConfig {
pub frequency: f64,
pub duration: f64,
pub sample_rate: f64,
pub amplitude: f64,
}Expand description
Sonar pulse parameters.
Fields§
§frequency: f64§duration: f64§sample_rate: f64§amplitude: f64Trait Implementations§
Source§impl Clone for PulseConfig
impl Clone for PulseConfig
Source§fn clone(&self) -> PulseConfig
fn clone(&self) -> PulseConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PulseConfig
impl Debug for PulseConfig
Source§impl Default for PulseConfig
impl Default for PulseConfig
impl Copy for PulseConfig
Auto Trait Implementations§
impl Freeze for PulseConfig
impl RefUnwindSafe for PulseConfig
impl Send for PulseConfig
impl Sync for PulseConfig
impl Unpin for PulseConfig
impl UnsafeUnpin for PulseConfig
impl UnwindSafe for PulseConfig
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