pub trait IFieldInfoMethods: IFieldInfo {
Show 22 methods
// Provided methods
fn get_attributes(self) -> FieldAttributes { ... }
fn ctor(self) { ... }
fn get_field_type(self) -> SystemType { ... }
fn get_value(self, obj: impl Into<Object>) -> Object { ... }
fn get_member_type(self) -> MemberTypes { ... }
fn get_is_literal(self) -> bool { ... }
fn get_is_static(self) -> bool { ... }
fn get_is_init_only(self) -> bool { ... }
fn get_is_public(self) -> bool { ... }
fn get_is_private(self) -> bool { ... }
fn get_is_family(self) -> bool { ... }
fn get_is_assembly(self) -> bool { ... }
fn get_is_family_and_assembly(self) -> bool { ... }
fn get_is_family_or_assembly(self) -> bool { ... }
fn get_is_special_name(self) -> bool { ... }
fn get_is_not_serialized(self) -> bool { ... }
fn set_value(self, obj: impl Into<Object>, value: impl Into<Object>) { ... }
fn get_field_offset(self) -> i32 { ... }
fn get_pseudo_custom_attributes(self) -> Array<Object> { ... }
fn get_raw_constant_value(self) -> Object { ... }
fn equals(self, obj: impl Into<Object>) -> bool { ... }
fn get_hash_code(self) -> i32 { ... }
}Provided Methods§
Sourcefn get_attributes(self) -> FieldAttributes
fn get_attributes(self) -> FieldAttributes
get_Attributes() overload
Sourcefn get_field_type(self) -> SystemType
fn get_field_type(self) -> SystemType
get_FieldType() overload
Sourcefn get_value(self, obj: impl Into<Object>) -> Object
fn get_value(self, obj: impl Into<Object>) -> Object
GetValue(crate::system::object::Object) overload
Sourcefn get_member_type(self) -> MemberTypes
fn get_member_type(self) -> MemberTypes
get_MemberType() overload
Sourcefn get_is_literal(self) -> bool
fn get_is_literal(self) -> bool
get_IsLiteral() overload
Sourcefn get_is_static(self) -> bool
fn get_is_static(self) -> bool
get_IsStatic() overload
Sourcefn get_is_init_only(self) -> bool
fn get_is_init_only(self) -> bool
get_IsInitOnly() overload
Sourcefn get_is_public(self) -> bool
fn get_is_public(self) -> bool
get_IsPublic() overload
Sourcefn get_is_private(self) -> bool
fn get_is_private(self) -> bool
get_IsPrivate() overload
Sourcefn get_is_family(self) -> bool
fn get_is_family(self) -> bool
get_IsFamily() overload
Sourcefn get_is_assembly(self) -> bool
fn get_is_assembly(self) -> bool
get_IsAssembly() overload
Sourcefn get_is_family_and_assembly(self) -> bool
fn get_is_family_and_assembly(self) -> bool
get_IsFamilyAndAssembly() overload
Sourcefn get_is_family_or_assembly(self) -> bool
fn get_is_family_or_assembly(self) -> bool
get_IsFamilyOrAssembly() overload
Sourcefn get_is_special_name(self) -> bool
fn get_is_special_name(self) -> bool
get_IsSpecialName() overload
Sourcefn get_is_not_serialized(self) -> bool
fn get_is_not_serialized(self) -> bool
get_IsNotSerialized() overload
Sourcefn set_value(self, obj: impl Into<Object>, value: impl Into<Object>)
fn set_value(self, obj: impl Into<Object>, value: impl Into<Object>)
SetValue(crate::system::object::Object, crate::system::object::Object) overload
Sourcefn get_field_offset(self) -> i32
fn get_field_offset(self) -> i32
GetFieldOffset() overload
Sourcefn get_pseudo_custom_attributes(self) -> Array<Object>
fn get_pseudo_custom_attributes(self) -> Array<Object>
GetPseudoCustomAttributes() overload
Sourcefn get_raw_constant_value(self) -> Object
fn get_raw_constant_value(self) -> Object
GetRawConstantValue() overload
Sourcefn get_hash_code(self) -> i32
fn get_hash_code(self) -> i32
GetHashCode() 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: IFieldInfo> IFieldInfoMethods for __T
Available on crate feature
system-reflection-fieldinfo only.