Struct obs_wrapper::module::LoadContext
source · [−]pub struct LoadContext { /* private fields */ }Implementations
sourceimpl LoadContext
impl LoadContext
sourcepub unsafe fn new() -> LoadContext
pub unsafe fn new() -> LoadContext
Safety
LoadContext can only be used at specific times. Creating it could cause UB if done at the wrong time.
pub fn create_source_builder<D: Sourceable>(&self) -> SourceInfoBuilder<D>
pub fn create_output_builder<D: Outputable>(&self) -> OutputInfoBuilder<D>
pub fn register_source(&mut self, source: SourceInfo)
pub fn register_output(&mut self, output: OutputInfo)
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for LoadContext
impl !Send for LoadContext
impl !Sync for LoadContext
impl Unpin for LoadContext
impl UnwindSafe for LoadContext
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more