Skip to main content

IMascotColorDataMethods

Trait IMascotColorDataMethods 

Source
pub trait IMascotColorDataMethods: IMascotColorData {
    // Provided methods
    fn get_r(self) -> i32 { ... }
    fn set_r(self, value: impl Into<i32>) { ... }
    fn get_g(self) -> i32 { ... }
    fn set_g(self, value: impl Into<i32>) { ... }
    fn get_b(self) -> i32 { ... }
    fn set_b(self, value: impl Into<i32>) { ... }
    fn on_build(self) { ... }
    fn ctor(self) { ... }
}

Provided Methods§

Source

fn get_r(self) -> i32

get_R() overload

Source

fn set_r(self, value: impl Into<i32>)

set_R(i32) overload

Source

fn get_g(self) -> i32

get_G() overload

Source

fn set_g(self, value: impl Into<i32>)

set_G(i32) overload

Source

fn get_b(self) -> i32

get_B() overload

Source

fn set_b(self, value: impl Into<i32>)

set_B(i32) overload

Source

fn on_build(self)

OnBuild() overload

Source

fn ctor(self)

.ctor() overload

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§

Source§

impl<__T: IMascotColorData> IMascotColorDataMethods for __T

Available on crate feature app-mascotcolordata only.