pub struct OscilloscopeFrameProducer { /* private fields */ }Expand description
Producer side of oscilloscope frame channel.
Implementations§
Source§impl OscilloscopeFrameProducer
impl OscilloscopeFrameProducer
Sourcepub fn push(&mut self, frame: OscilloscopeFrameSnapshot)
pub fn push(&mut self, frame: OscilloscopeFrameSnapshot)
Push the latest frame. If the channel is full, the frame is dropped.
Auto Trait Implementations§
impl !Freeze for OscilloscopeFrameProducer
impl !RefUnwindSafe for OscilloscopeFrameProducer
impl Send for OscilloscopeFrameProducer
impl !Sync for OscilloscopeFrameProducer
impl Unpin for OscilloscopeFrameProducer
impl UnsafeUnpin for OscilloscopeFrameProducer
impl UnwindSafe for OscilloscopeFrameProducer
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