pub struct CapturePlan {
pub selected: NegotiatedCapture,
pub alternatives: Vec<CaptureMode>,
pub ranking_reason: String,
pub estimated_pool_bytes: usize,
pub adjustments: Vec<String>,
}Expand description
Values for CapturePlan.
Fields§
§selected: NegotiatedCaptureThe selected value.
alternatives: Vec<CaptureMode>Other compatible capture modes.
ranking_reason: StringHuman-readable explanation of the selected mode.
estimated_pool_bytes: usizeEstimated bytes reserved by the frame pool.
adjustments: Vec<String>Adjustments made during negotiation.
Trait Implementations§
Source§impl Clone for CapturePlan
impl Clone for CapturePlan
Source§fn clone(&self) -> CapturePlan
fn clone(&self) -> CapturePlan
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 CapturePlan
impl RefUnwindSafe for CapturePlan
impl Send for CapturePlan
impl Sync for CapturePlan
impl Unpin for CapturePlan
impl UnsafeUnpin for CapturePlan
impl UnwindSafe for CapturePlan
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