Skip to main content

IFieldInfoMethods

Trait IFieldInfoMethods 

Source
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§

Source

fn get_attributes(self) -> FieldAttributes

get_Attributes() overload

Source

fn ctor(self)

.ctor() overload

Source

fn get_field_type(self) -> SystemType

get_FieldType() overload

Source

fn get_value(self, obj: impl Into<Object>) -> Object

GetValue(crate::system::object::Object) overload

Source

fn get_member_type(self) -> MemberTypes

get_MemberType() overload

Source

fn get_is_literal(self) -> bool

get_IsLiteral() overload

Source

fn get_is_static(self) -> bool

get_IsStatic() overload

Source

fn get_is_init_only(self) -> bool

get_IsInitOnly() overload

Source

fn get_is_public(self) -> bool

get_IsPublic() overload

Source

fn get_is_private(self) -> bool

get_IsPrivate() overload

Source

fn get_is_family(self) -> bool

get_IsFamily() overload

Source

fn get_is_assembly(self) -> bool

get_IsAssembly() overload

Source

fn get_is_family_and_assembly(self) -> bool

get_IsFamilyAndAssembly() overload

Source

fn get_is_family_or_assembly(self) -> bool

get_IsFamilyOrAssembly() overload

Source

fn get_is_special_name(self) -> bool

get_IsSpecialName() overload

Source

fn get_is_not_serialized(self) -> bool

get_IsNotSerialized() overload

Source

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

SetValue(crate::system::object::Object, crate::system::object::Object) overload

Source

fn get_field_offset(self) -> i32

GetFieldOffset() overload

Source

fn get_pseudo_custom_attributes(self) -> Array<Object>

GetPseudoCustomAttributes() overload

Source

fn get_raw_constant_value(self) -> Object

GetRawConstantValue() overload

Source

fn equals(self, obj: impl Into<Object>) -> bool

Equals(crate::system::object::Object) overload

Source

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§

Source§

impl<__T: IFieldInfo> IFieldInfoMethods for __T

Available on crate feature system-reflection-fieldinfo only.