pub struct Signal {}
Expand description
Signal structure for holding audio or sensor data
Implementations§
Source§impl Signal
impl Signal
Sourcepub fn from_raw_data(_data: &[f32]) -> EdgeImpulseResult<Self>
pub fn from_raw_data(_data: &[f32]) -> EdgeImpulseResult<Self>
Create a new signal from raw data (f32 slice) using the SDK’s signal_from_buffer
Auto Trait Implementations§
impl Freeze for Signal
impl RefUnwindSafe for Signal
impl Send for Signal
impl Sync for Signal
impl Unpin for Signal
impl UnwindSafe for Signal
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