pub struct WasapiCaptureOptions {
pub device: WasapiDevice,
}Available on Windows and crate feature
wasapi-capture and (crate features dxgi-capture or wasapi-capture) only.Expand description
Construction-time options for WasapiCaptureSource::open.
Fields§
§device: WasapiDeviceWhich endpoint to capture from — one entry out of
WasapiCaptureSource::list_devices (or hand-built, if the caller
already knows a device’s id/kind some other way).
Trait Implementations§
Source§impl Clone for WasapiCaptureOptions
impl Clone for WasapiCaptureOptions
Source§fn clone(&self) -> WasapiCaptureOptions
fn clone(&self) -> WasapiCaptureOptions
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 moreAuto Trait Implementations§
impl Freeze for WasapiCaptureOptions
impl RefUnwindSafe for WasapiCaptureOptions
impl Send for WasapiCaptureOptions
impl Sync for WasapiCaptureOptions
impl Unpin for WasapiCaptureOptions
impl UnsafeUnpin for WasapiCaptureOptions
impl UnwindSafe for WasapiCaptureOptions
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