ObsSourceTrait

Trait ObsSourceTrait 

Source
pub trait ObsSourceTrait: ObsObjectTrait<*mut obs_source_t> {
    // Required methods
    fn signals(&self) -> &Arc<ObsSourceSignals>;
    fn get_active_filters(&self) -> Result<Vec<ObsFilterGuardPair>, ObsError>;
    fn apply_filter(&self, filter: &ObsFilterRef) -> Result<(), ObsError>;
}

Required Methods§

Trait Implementations§

Source§

impl Hash for dyn ObsSourceTrait

Source§

fn hash<H: Hasher>(&self, state: &mut H)

Feeds this value into the given Hasher. Read more
Source§

impl PartialEq for dyn ObsSourceTrait

Source§

fn eq(&self, other: &Self) -> bool

Tests for self and other values to be equal, and is used by ==.
1.0.0 · Source§

fn ne(&self, other: &Rhs) -> bool

Tests for !=. The default implementation is almost always sufficient, and should not be overridden without very good reason.
Source§

impl Eq for dyn ObsSourceTrait

Implementors§