pub struct Stream { /* private fields */ }Expand description
Handle to a camera stream.
Obtained from StreamConfigurationRef::stream() and is valid as long as camera configuration is unchanged.
Implementations§
Source§impl Stream
impl Stream
Sourcepub fn configuration(&self) -> Option<Immutable<StreamConfigurationRef<'_>>>
pub fn configuration(&self) -> Option<Immutable<StreamConfigurationRef<'_>>>
Returns the active StreamConfigurationRef for this stream, if available.
Trait Implementations§
impl Copy for Stream
impl Eq for Stream
impl Send for Stream
impl StructuralPartialEq for Stream
Auto Trait Implementations§
impl Freeze for Stream
impl RefUnwindSafe for Stream
impl !Sync for Stream
impl Unpin for Stream
impl UnwindSafe for Stream
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