pub trait IStructPropertyMethods: IStructProperty {
Show 15 methods
// Provided methods
fn get_kind(self) -> StructProperty_Kind { ... }
fn set_kind(self, value: impl Into<StructProperty_Kind>) { ... }
fn get_property(self) -> PropertyInfo { ... }
fn set_property(self, value: impl Into<PropertyInfo>) { ... }
fn get_obj_property(self) -> PropertyInfo { ... }
fn set_obj_property(self, value: impl Into<PropertyInfo>) { ... }
fn get_is_struct(self) -> bool { ... }
fn set_is_struct(self, value: impl Into<bool>) { ... }
fn get_is_setter(self) -> bool { ... }
fn set_is_setter(self, value: impl Into<bool>) { ... }
fn get_setter(self) -> Object { ... }
fn set_setter(self, value: impl Into<Object>) { ... }
fn set_value<M0: IlType + Copy + ClassIdentity, M1: IlType + Copy + ClassIdentity>(
self,
obj: impl Into<Object>,
value: impl Into<M1>,
) { ... }
fn set_value_2(self, obj: impl Into<Object>, value: impl Into<Object>) { ... }
fn ctor(self) { ... }
}Provided Methods§
Sourcefn get_kind(self) -> StructProperty_Kind
fn get_kind(self) -> StructProperty_Kind
get_kind() overload
Sourcefn set_kind(self, value: impl Into<StructProperty_Kind>)
fn set_kind(self, value: impl Into<StructProperty_Kind>)
set_kind(crate::app::structproperty::StructProperty_Kind) overload
Sourcefn get_property(self) -> PropertyInfo
fn get_property(self) -> PropertyInfo
get_property() overload
Sourcefn set_property(self, value: impl Into<PropertyInfo>)
fn set_property(self, value: impl Into<PropertyInfo>)
set_property(crate::system::reflection::propertyinfo::PropertyInfo) overload
Sourcefn get_obj_property(self) -> PropertyInfo
fn get_obj_property(self) -> PropertyInfo
get_objProperty() overload
Sourcefn set_obj_property(self, value: impl Into<PropertyInfo>)
fn set_obj_property(self, value: impl Into<PropertyInfo>)
set_objProperty(crate::system::reflection::propertyinfo::PropertyInfo) overload
Sourcefn get_is_struct(self) -> bool
fn get_is_struct(self) -> bool
get_isStruct() overload
Sourcefn set_is_struct(self, value: impl Into<bool>)
fn set_is_struct(self, value: impl Into<bool>)
set_isStruct(bool) overload
Sourcefn get_is_setter(self) -> bool
fn get_is_setter(self) -> bool
get_isSetter() overload
Sourcefn set_is_setter(self, value: impl Into<bool>)
fn set_is_setter(self, value: impl Into<bool>)
set_isSetter(bool) overload
Sourcefn get_setter(self) -> Object
fn get_setter(self) -> Object
get_setter() overload
Sourcefn set_setter(self, value: impl Into<Object>)
fn set_setter(self, value: impl Into<Object>)
set_setter(crate::system::object::Object) overload
fn set_value<M0: IlType + Copy + ClassIdentity, M1: IlType + Copy + ClassIdentity>( self, obj: impl Into<Object>, value: impl Into<M1>, )
Sourcefn set_value_2(self, obj: impl Into<Object>, value: impl Into<Object>)
fn set_value_2(self, obj: impl Into<Object>, value: impl Into<Object>)
SetValue(crate::system::object::Object, 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§
impl<__T: IStructProperty> IStructPropertyMethods for __T
Available on crate feature
app-structproperty only.