pub struct StreamingEvent {
pub length: usize,
pub samples_per_second: u32,
pub channels: HashMap<PicoChannel, RawChannelDataBlock>,
}
Expand description
Events returned by the PicoStreamingDevice
Fields§
§length: usize
§samples_per_second: u32
§channels: HashMap<PicoChannel, RawChannelDataBlock>
Trait Implementations§
Source§impl Clone for StreamingEvent
impl Clone for StreamingEvent
Source§fn clone(&self) -> StreamingEvent
fn clone(&self) -> StreamingEvent
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 moreAuto Trait Implementations§
impl Freeze for StreamingEvent
impl RefUnwindSafe for StreamingEvent
impl Send for StreamingEvent
impl Sync for StreamingEvent
impl Unpin for StreamingEvent
impl UnwindSafe for StreamingEvent
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