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§

source

fn balance_type(&self) -> ColorBalanceType

source

fn value(&self, channel: &impl IsA<ColorBalanceChannel>) -> i32

source

fn list_channels(&self) -> Vec<ColorBalanceChannel>

source

fn set_value(&self, channel: &impl IsA<ColorBalanceChannel>, value: i32)

source

fn value_changed(&self, channel: &impl IsA<ColorBalanceChannel>, value: i32)

source

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

Object Safety§

This trait is not object safe.

Implementors§