Skip to main content

IColorUsageAttributeMethods

Trait IColorUsageAttributeMethods 

Source
pub trait IColorUsageAttributeMethods: IColorUsageAttribute {
    // Provided methods
    fn ctor(self, show_alpha: impl Into<bool>) { ... }
    fn ctor_2(self, show_alpha: impl Into<bool>, hdr: impl Into<bool>) { ... }
}

Provided Methods§

Source

fn ctor(self, show_alpha: impl Into<bool>)

.ctor(bool) overload

Source

fn ctor_2(self, show_alpha: impl Into<bool>, hdr: impl Into<bool>)

.ctor(bool, bool) 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: IColorUsageAttribute> IColorUsageAttributeMethods for __T

Available on crate feature unity_engine-colorusageattribute only.