Trait gstreamer_video::prelude::ColorBalanceExt
source · pub trait ColorBalanceExt:
IsA<ColorBalance>
+ Sealed
+ 'static {
// Provided methods
fn balance_type(&self) -> ColorBalanceType { ... }
fn value(&self, channel: &impl IsA<ColorBalanceChannel>) -> i32 { ... }
fn list_channels(&self) -> Vec<ColorBalanceChannel> { ... }
fn set_value(&self, channel: &impl IsA<ColorBalanceChannel>, value: i32) { ... }
fn value_changed(&self, channel: &impl IsA<ColorBalanceChannel>, value: i32) { ... }
fn connect_value_changed<F: Fn(&Self, &ColorBalanceChannel, i32) + Send + Sync + 'static>(
&self,
f: F,
) -> SignalHandlerId { ... }
}
Provided Methods§
fn balance_type(&self) -> ColorBalanceType
fn value(&self, channel: &impl IsA<ColorBalanceChannel>) -> i32
fn list_channels(&self) -> Vec<ColorBalanceChannel>
fn set_value(&self, channel: &impl IsA<ColorBalanceChannel>, value: i32)
fn value_changed(&self, channel: &impl IsA<ColorBalanceChannel>, value: i32)
fn connect_value_changed<F: Fn(&Self, &ColorBalanceChannel, i32) + Send + Sync + 'static>( &self, f: F, ) -> SignalHandlerId
Object Safety§
This trait is not object safe.