pub struct ObsVideoEncoderBuilder { /* private fields */ }Implementations§
Source§impl ObsVideoEncoderBuilder
impl ObsVideoEncoderBuilder
pub fn new(context: ObsContext, encoder_id: &str) -> Self
pub fn get_encoder_id(&self) -> &ObsVideoEncoderType
pub fn set_settings(&mut self, settings: ObsData) -> &mut Self
pub fn set_hotkey_data(&mut self, hotkey_data: ObsData) -> &mut Self
pub fn get_settings(&self) -> Option<&ObsData>
pub fn get_hotkey_data(&self) -> Option<&ObsData>
pub fn get_settings_mut(&mut self) -> Option<&mut ObsData>
pub fn get_hotkey_data_mut(&mut self) -> Option<&mut ObsData>
Source§impl ObsVideoEncoderBuilder
impl ObsVideoEncoderBuilder
pub fn set_to_output( self, output: &mut ObsOutputRef, name: &str, ) -> Result<Arc<ObsVideoEncoder>, ObsError>
Trait Implementations§
Source§impl Debug for ObsVideoEncoderBuilder
impl Debug for ObsVideoEncoderBuilder
Source§impl ObsPropertyObject for ObsVideoEncoderBuilder
impl ObsPropertyObject for ObsVideoEncoderBuilder
Source§fn get_properties(&self) -> Result<HashMap<String, ObsProperty>, ObsError>
fn get_properties(&self) -> Result<HashMap<String, ObsProperty>, ObsError>
Returns the properties of the object
fn get_properties_by_source_id<T: Into<ObsString> + Sync + Send>( id: T, runtime: &ObsRuntime, ) -> Result<HashMap<String, ObsProperty>, ObsError>
Source§impl ObsPropertyObjectPrivate for ObsVideoEncoderBuilder
impl ObsPropertyObjectPrivate for ObsVideoEncoderBuilder
fn get_properties_raw( &self, ) -> Result<SmartPointerSendable<*mut obs_properties_t>, ObsError>
fn get_properties_by_id_raw<T: Into<ObsString> + Sync + Send>( id: T, runtime: ObsRuntime, ) -> Result<SmartPointerSendable<*mut obs_properties_t>, ObsError>
Auto Trait Implementations§
impl Freeze for ObsVideoEncoderBuilder
impl !RefUnwindSafe for ObsVideoEncoderBuilder
impl Send for ObsVideoEncoderBuilder
impl Sync for ObsVideoEncoderBuilder
impl Unpin for ObsVideoEncoderBuilder
impl !UnwindSafe for ObsVideoEncoderBuilder
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