Trait TimedValueControlSourceExt

Source
pub trait TimedValueControlSourceExt:
    IsA<TimedValueControlSource>
    + Sealed
    + 'static {
    // Provided methods
    fn count(&self) -> i32 { ... }
    fn set(&self, timestamp: ClockTime, value: f64) -> bool { ... }
    fn unset(&self, timestamp: ClockTime) -> bool { ... }
    fn unset_all(&self) { ... }
    fn connect_value_added<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_value_changed<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
    fn connect_value_removed<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn count(&self) -> i32

Source

fn set(&self, timestamp: ClockTime, value: f64) -> bool

Source

fn unset(&self, timestamp: ClockTime) -> bool

Source

fn unset_all(&self)

Source

fn connect_value_added<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_value_changed<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Source

fn connect_value_removed<F: Fn(&Self, &ControlPoint) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementors§