pub struct OutputContext { /* private fields */ }Expand description
Context wrapping an OBS output - video / audio elements which are displayed to the screen.
Implementations§
Source§impl OutputContext
impl OutputContext
Sourcepub unsafe fn from_raw(output: *mut obs_output_t) -> Self
pub unsafe fn from_raw(output: *mut obs_output_t) -> Self
§Safety
Pointer must be valid.
Trait Implementations§
Source§impl Clone for OutputContext
impl Clone for OutputContext
Auto Trait Implementations§
impl Freeze for OutputContext
impl RefUnwindSafe for OutputContext
impl !Send for OutputContext
impl !Sync for OutputContext
impl Unpin for OutputContext
impl UnwindSafe for OutputContext
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