Skip to main content

IPropertyInfoItemMethods

Trait IPropertyInfoItemMethods 

Source
pub trait IPropertyInfoItemMethods: IPropertyInfoItem {
    // Provided methods
    fn ctor(self, obj: impl Into<Object>, info: impl Into<PropertyInfo>) { ... }
    fn get_value_type(self) -> SystemType { ... }
    fn get_value(self) -> Object { ... }
    fn set_value(self, value: impl Into<Object>) { ... }
}

Provided Methods§

Source

fn ctor(self, obj: impl Into<Object>, info: impl Into<PropertyInfo>)

.ctor(crate::system::object::Object, crate::system::reflection::propertyinfo::PropertyInfo) overload

Source

fn get_value_type(self) -> SystemType

GetValueType() overload

Source

fn get_value(self) -> Object

GetValue() overload

Source

fn set_value(self, value: impl Into<Object>)

SetValue(crate::system::object::Object) 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: IPropertyInfoItem> IPropertyInfoItemMethods for __T

Available on crate feature app-propertyinfoitem only.