pub struct ColorUsageAttribute(/* private fields */);Expand description
IL2CPP class: UnityEngine.ColorUsageAttribute
Inherits: PropertyAttribute
Implementations§
Source§impl ColorUsageAttribute
impl ColorUsageAttribute
pub fn base(self) -> PropertyAttribute
Source§impl ColorUsageAttribute
impl ColorUsageAttribute
pub fn ctor_method_info() -> &'static MethodInfo
pub fn ctor_2_method_info() -> &'static MethodInfo
Trait Implementations§
Source§impl ClassIdentity for ColorUsageAttribute
impl ClassIdentity for ColorUsageAttribute
Source§impl Clone for ColorUsageAttribute
impl Clone for ColorUsageAttribute
Source§fn clone(&self) -> ColorUsageAttribute
fn clone(&self) -> ColorUsageAttribute
Returns a duplicate of the value. Read more
1.0.0§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl FromIlInstance for ColorUsageAttribute
impl FromIlInstance for ColorUsageAttribute
fn from_il_instance(instance: IlInstance) -> Self
fn instantiate() -> Option<Self>
§fn instantiate_with_class(class: Class) -> Option<Self>
fn instantiate_with_class(class: Class) -> Option<Self>
Caller swears
class is a subtype of Self or layout compatibleSource§impl IColorUsageAttribute for ColorUsageAttribute
impl IColorUsageAttribute for ColorUsageAttribute
fn show_alpha(self) -> bool
fn set_show_alpha(self, value: bool)
fn hdr(self) -> bool
fn set_hdr(self, value: bool)
fn min_brightness(self) -> f32
fn set_min_brightness(self, value: f32)
fn max_brightness(self) -> f32
fn set_max_brightness(self, value: f32)
fn min_exposure_value(self) -> f32
fn set_min_exposure_value(self, value: f32)
fn max_exposure_value(self) -> f32
fn set_max_exposure_value(self, value: f32)
impl Copy for ColorUsageAttribute
impl IPropertyAttribute for ColorUsageAttribute
Auto Trait Implementations§
impl Freeze for ColorUsageAttribute
impl RefUnwindSafe for ColorUsageAttribute
impl !Send for ColorUsageAttribute
impl !Sync for ColorUsageAttribute
impl Unpin for ColorUsageAttribute
impl UnwindSafe for ColorUsageAttribute
Blanket Implementations§
§impl<T> Any for Twhere
T: 'static + ?Sized,
impl<T> Any for Twhere
T: 'static + ?Sized,
§impl<T> Borrow<T> for Twhere
T: ?Sized,
impl<T> Borrow<T> for Twhere
T: ?Sized,
§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
§impl<T> Cast for Twhere
T: SystemObject,
impl<T> Cast for Twhere
T: SystemObject,
fn get_class(self) -> Class
fn is_null(self) -> bool
fn rebind_class(self, new_class: Class)
fn override_class(self) -> Class
fn is_instance_of<T>(self) -> boolwhere
T: ClassIdentity,
fn is_direct_subclass_of<T>(self) -> boolwhere
T: ClassIdentity,
fn try_cast<T>(self) -> Option<T>where
T: ClassIdentity + FromIlInstance,
§unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
unsafe fn cast<T>(self) -> Twhere
T: ClassIdentity + FromIlInstance,
Safety Read more
§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§unsafe fn clone_to_uninit(&self, dest: *mut u8)
unsafe fn clone_to_uninit(&self, dest: *mut u8)
🔬This is a nightly-only experimental API. (
clone_to_uninit)