pub struct PacketCopyPlan { /* private fields */ }Expand description
A copy that can be made, and what it copies.
Implementations§
Source§impl PacketCopyPlan
impl PacketCopyPlan
Sourcepub const fn video_packets(&self) -> u64
pub const fn video_packets(&self) -> u64
Video packets the copy writes: one per output frame.
Sourcepub const fn copies_audio(&self) -> bool
pub const fn copies_audio(&self) -> bool
Whether the source’s audio is copied too.
Sourcepub fn audio_copy_refusal(&self) -> Option<&str>
pub fn audio_copy_refusal(&self) -> Option<&str>
Why the source’s audio, which the request offered to copy, is not.
Trait Implementations§
Source§impl Clone for PacketCopyPlan
impl Clone for PacketCopyPlan
Auto Trait Implementations§
impl Freeze for PacketCopyPlan
impl RefUnwindSafe for PacketCopyPlan
impl Send for PacketCopyPlan
impl Sync for PacketCopyPlan
impl Unpin for PacketCopyPlan
impl UnsafeUnpin for PacketCopyPlan
impl UnwindSafe for PacketCopyPlan
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