pub struct OutputTypeInfo { /* private fields */ }Implementations§
Source§impl OutputTypeInfo
impl OutputTypeInfo
pub fn id(&self) -> &str
pub fn display_name(&self) -> Option<&str>
pub fn video_codecs(&self) -> &[String]
pub fn audio_codecs(&self) -> &[String]
pub fn protocols(&self) -> &[String]
pub fn flags(&self) -> u32
pub fn capability_flags(&self) -> OutputCapabilities
pub fn supports_video_codec(&self, codec: &str) -> bool
pub fn supports_audio_codec(&self, codec: &str) -> bool
pub fn supports_protocol(&self, protocol: &str) -> bool
pub fn properties(&self) -> Result<Vec<PropertyMetadata>, ObsError>
pub fn settings_schema(&self) -> Result<SettingsSchema, ObsError>
pub fn settings_schema_for( &self, settings: &ObsData, ) -> Result<SettingsSchema, ObsError>
pub fn settings_snapshot_for( &self, settings: &ObsData, ) -> Result<SettingsSnapshot, ObsError>
pub fn default_settings(&self) -> Result<Option<ImmutableObsData>, ObsError>
Sourcepub fn default_settings_mut(&self) -> Result<ObsData, ObsError>
pub fn default_settings_mut(&self) -> Result<ObsData, ObsError>
Returns a mutable settings object initialized from this output type’s defaults.
Trait Implementations§
Source§impl Clone for OutputTypeInfo
impl Clone for OutputTypeInfo
Source§fn clone(&self) -> OutputTypeInfo
fn clone(&self) -> OutputTypeInfo
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for OutputTypeInfo
impl RefUnwindSafe for OutputTypeInfo
impl Send for OutputTypeInfo
impl Sync for OutputTypeInfo
impl Unpin for OutputTypeInfo
impl UnsafeUnpin for OutputTypeInfo
impl UnwindSafe for OutputTypeInfo
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