Struct obs_wrapper::output::OutputInfoBuilder
source · [−]pub struct OutputInfoBuilder<D: Outputable> { /* private fields */ }Expand description
The OutputInfoBuilder that handles creating the OutputInfo object.
For each trait that is implemented for the Output, it needs to be enabled
using this builder. If an struct called FocusFilter implements
CreateOutput and GetNameOutput it would need to enable those features.
let output = load_context
.create_output_builder::<FocusFilter>()
.enable_get_name()
.enable_create()
.build();Implementations
sourceimpl<D: Outputable> OutputInfoBuilder<D>
impl<D: Outputable> OutputInfoBuilder<D>
pub fn build(self) -> OutputInfo
sourceimpl<D: Outputable + GetNameOutput> OutputInfoBuilder<D>
impl<D: Outputable + GetNameOutput> OutputInfoBuilder<D>
pub fn enable_get_name(self) -> Self
sourceimpl<D: Outputable + RawVideoOutput> OutputInfoBuilder<D>
impl<D: Outputable + RawVideoOutput> OutputInfoBuilder<D>
pub fn enable_raw_video(self) -> Self
sourceimpl<D: Outputable + RawAudioOutput> OutputInfoBuilder<D>
impl<D: Outputable + RawAudioOutput> OutputInfoBuilder<D>
pub fn enable_raw_audio(self) -> Self
sourceimpl<D: Outputable + RawAudio2Output> OutputInfoBuilder<D>
impl<D: Outputable + RawAudio2Output> OutputInfoBuilder<D>
pub fn enable_raw_audio2(self) -> Self
sourceimpl<D: Outputable + EncodedPacketOutput> OutputInfoBuilder<D>
impl<D: Outputable + EncodedPacketOutput> OutputInfoBuilder<D>
pub fn enable_encoded_packet(self) -> Self
sourceimpl<D: Outputable + UpdateOutput> OutputInfoBuilder<D>
impl<D: Outputable + UpdateOutput> OutputInfoBuilder<D>
pub fn enable_update(self) -> Self
sourceimpl<D: Outputable + GetDefaultsOutput> OutputInfoBuilder<D>
impl<D: Outputable + GetDefaultsOutput> OutputInfoBuilder<D>
pub fn enable_get_defaults(self) -> Self
sourceimpl<D: Outputable + GetPropertiesOutput> OutputInfoBuilder<D>
impl<D: Outputable + GetPropertiesOutput> OutputInfoBuilder<D>
pub fn enable_get_properties(self) -> Self
sourceimpl<D: Outputable + GetTotalBytesOutput> OutputInfoBuilder<D>
impl<D: Outputable + GetTotalBytesOutput> OutputInfoBuilder<D>
pub fn enable_get_total_bytes(self) -> Self
sourceimpl<D: Outputable + GetDroppedFramesOutput> OutputInfoBuilder<D>
impl<D: Outputable + GetDroppedFramesOutput> OutputInfoBuilder<D>
pub fn enable_get_dropped_frames(self) -> Self
sourceimpl<D: Outputable + GetCongestionOutput> OutputInfoBuilder<D>
impl<D: Outputable + GetCongestionOutput> OutputInfoBuilder<D>
pub fn enable_get_congestion(self) -> Self
sourceimpl<D: Outputable + GetConnectTimeMsOutput> OutputInfoBuilder<D>
impl<D: Outputable + GetConnectTimeMsOutput> OutputInfoBuilder<D>
pub fn enable_get_connect_time_ms(self) -> Self
Auto Trait Implementations
impl<D> RefUnwindSafe for OutputInfoBuilder<D>where
D: RefUnwindSafe,
impl<D> !Send for OutputInfoBuilder<D>
impl<D> !Sync for OutputInfoBuilder<D>
impl<D> Unpin for OutputInfoBuilder<D>where
D: Unpin,
impl<D> UnwindSafe for OutputInfoBuilder<D>where
D: UnwindSafe,
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