pub struct OutputCompatibilityPlan { /* private fields */ }Expand description
A concrete compatible choice of output and encoders from one capability snapshot.
Implementations§
Source§impl OutputCompatibilityPlan
impl OutputCompatibilityPlan
pub fn output(&self) -> &OutputTypeInfo
pub fn video_encoder(&self) -> Option<&EncoderTypeInfo>
pub fn audio_encoder(&self) -> Option<&EncoderTypeInfo>
pub fn protocol(&self) -> Option<&str>
Trait Implementations§
Source§impl Clone for OutputCompatibilityPlan
impl Clone for OutputCompatibilityPlan
Auto Trait Implementations§
impl Forget for OutputCompatibilityPlan
impl Freeze for OutputCompatibilityPlanwhere
*const u8 is !null: Freeze,
PhantomData<u8>: Freeze,
PhantomData<String>: Freeze,
*const ArcInner<Sender<ObsCommand>> is !null: Freeze,
PhantomData<ArcInner<Sender<ObsCommand>>>: Freeze,
*const ArcInner<Sender<Box<dyn FnOnce() + Send>>> is !null: Freeze,
PhantomData<ArcInner<Sender<Box<dyn FnOnce() + Send>>>>: Freeze,
*const ArcInner<Atomic<u8>> is !null: Freeze,
PhantomData<ArcInner<Atomic<u8>>>: Freeze,
*const ArcInner<NativeObjectRegistry> is !null: Freeze,
PhantomData<ArcInner<NativeObjectRegistry>>: Freeze,
NonZero<u64>: Freeze,
*const ArcInner<_ObsRuntimeGuard> is !null: Freeze,
PhantomData<ArcInner<_ObsRuntimeGuard>>: Freeze,
impl Move for OutputCompatibilityPlan
impl RefUnwindSafe for OutputCompatibilityPlanwhere
Atomic<usize>: RefUnwindSafe,
Sender<ObsCommand>: RefUnwindSafe,
Sender<Box<dyn FnOnce() + Send>>: RefUnwindSafe,
Atomic<u8>: RefUnwindSafe,
Atomic<u64>: RefUnwindSafe,
RwLock<HashSet<NativeObjectId>>: RefUnwindSafe,
NonZero<u64>: RefUnwindSafe,
Mutex<Option<JoinHandle<()>>>: RefUnwindSafe,
Sender<()>: RefUnwindSafe,
impl Send for OutputCompatibilityPlan
impl Sync for OutputCompatibilityPlan
impl Unpin for OutputCompatibilityPlan
impl UnsafeUnpin for OutputCompatibilityPlanwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<String>: UnsafeUnpin,
*const ArcInner<Sender<ObsCommand>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Sender<ObsCommand>>>: UnsafeUnpin,
*const ArcInner<Sender<Box<dyn FnOnce() + Send>>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Sender<Box<dyn FnOnce() + Send>>>>: UnsafeUnpin,
*const ArcInner<Atomic<u8>> is !null: UnsafeUnpin,
PhantomData<ArcInner<Atomic<u8>>>: UnsafeUnpin,
*const ArcInner<NativeObjectRegistry> is !null: UnsafeUnpin,
PhantomData<ArcInner<NativeObjectRegistry>>: UnsafeUnpin,
NonZeroU64Inner: UnsafeUnpin,
*const ArcInner<_ObsRuntimeGuard> is !null: UnsafeUnpin,
PhantomData<ArcInner<_ObsRuntimeGuard>>: UnsafeUnpin,
impl UnwindSafe for OutputCompatibilityPlanwhere
RawVecInner: UnwindSafe,
Arc<Sender<ObsCommand>>: UnwindSafe,
Arc<Sender<Box<dyn FnOnce() + Send>>>: UnwindSafe,
Arc<Atomic<u8>>: UnwindSafe,
Arc<NativeObjectRegistry>: UnwindSafe,
NonZero<u64>: UnwindSafe,
Arc<_ObsRuntimeGuard>: UnwindSafe,
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