libadwaita::subclass::prelude

Trait ColorChooserImplExt

Source
pub trait ColorChooserImplExt: Sealed + ObjectSubclass {
    // Provided methods
    fn parent_add_palette(
        &self,
        orientation: Orientation,
        colors_per_line: i32,
        colors: &[RGBA],
    ) { ... }
    fn parent_color_activated(&self, rgba: RGBA) { ... }
    fn parent_rgba(&self) -> RGBA { ... }
    fn parent_set_rgba(&self, rgba: RGBA) { ... }
}

Provided Methods§

Source

fn parent_add_palette( &self, orientation: Orientation, colors_per_line: i32, colors: &[RGBA], )

Source

fn parent_color_activated(&self, rgba: RGBA)

Source

fn parent_rgba(&self) -> RGBA

Source

fn parent_set_rgba(&self, rgba: RGBA)

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§