pub struct BackendInfo {
pub kind: BackendKind,
pub supports_audio: bool,
pub zero_copy: bool,
pub notes: &'static str,
}Expand description
What a backend can do — surfaced through
CaptureSession::backend_info so
applications (and bug reports) can tell which path was actually taken.
Fields§
§kind: BackendKind§supports_audio: bool§zero_copy: bool§notes: &'static strHuman-readable caveats (e.g. “cursor not embedded”, “polling-based”).
Trait Implementations§
Source§impl Clone for BackendInfo
impl Clone for BackendInfo
Source§fn clone(&self) -> BackendInfo
fn clone(&self) -> BackendInfo
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 moreSource§impl Debug for BackendInfo
impl Debug for BackendInfo
impl Eq for BackendInfo
Source§impl PartialEq for BackendInfo
impl PartialEq for BackendInfo
Source§fn eq(&self, other: &BackendInfo) -> bool
fn eq(&self, other: &BackendInfo) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BackendInfo
Auto Trait Implementations§
impl Freeze for BackendInfo
impl RefUnwindSafe for BackendInfo
impl Send for BackendInfo
impl Sync for BackendInfo
impl Unpin for BackendInfo
impl UnsafeUnpin for BackendInfo
impl UnwindSafe for BackendInfo
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