Trait AggregatorPadExt

Source
pub trait AggregatorPadExt: IsA<AggregatorPad> + 'static {
Show 14 methods // Provided methods fn drop_buffer(&self) -> bool { ... } fn has_buffer(&self) -> bool { ... } fn is_eos(&self) -> bool { ... } fn is_inactive(&self) -> bool { ... } fn peek_buffer(&self) -> Option<Buffer> { ... } fn pop_buffer(&self) -> Option<Buffer> { ... } fn current_level_buffers(&self) -> u64 { ... } fn current_level_bytes(&self) -> u64 { ... } fn emits_signals(&self) -> bool { ... } fn set_emit_signals(&self, emit_signals: bool) { ... } fn connect_buffer_consumed<F: Fn(&Self, &Buffer) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_current_level_buffers_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_current_level_bytes_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... } fn connect_emit_signals_notify<F: Fn(&Self) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn drop_buffer(&self) -> bool

Source

fn has_buffer(&self) -> bool

Available on crate feature v1_14_1 only.
Source

fn is_eos(&self) -> bool

Source

fn is_inactive(&self) -> bool

Available on crate feature v1_20 only.
Source

fn peek_buffer(&self) -> Option<Buffer>

Source

fn pop_buffer(&self) -> Option<Buffer>

Source

fn current_level_buffers(&self) -> u64

Available on crate feature v1_28 only.
Source

fn current_level_bytes(&self) -> u64

Available on crate feature v1_28 only.
Source

fn emits_signals(&self) -> bool

Available on crate feature v1_16 only.
Source

fn set_emit_signals(&self, emit_signals: bool)

Available on crate feature v1_16 only.
Source

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

Source

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

Available on crate feature v1_28 only.
Source

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

Available on crate feature v1_28 only.
Source

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

Available on crate feature v1_16 only.

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§