pub struct ClrType {
pub name: String,
pub namespace: Option<String>,
pub access_flags: ClrAccessFlags,
pub base_type: Option<ClrTypeReference>,
pub interfaces: Vec<ClrTypeReference>,
pub fields: Vec<ClrField>,
pub methods: Vec<ClrMethod>,
pub properties: Vec<String>,
pub events: Vec<String>,
pub nested_types: Vec<ClrType>,
pub attributes: Vec<ClrAttribute>,
}Expand description
CLR type definition representing a class, struct, or interface.
Fields§
§name: StringThe name of the type.
namespace: Option<String>The namespace containing the type.
access_flags: ClrAccessFlagsAccess flags for the type.
base_type: Option<ClrTypeReference>The base type this type inherits from.
interfaces: Vec<ClrTypeReference>Interfaces implemented by this type.
fields: Vec<ClrField>Fields defined in this type.
methods: Vec<ClrMethod>Methods defined in this type.
properties: Vec<String>Properties defined in this type.
events: Vec<String>Events defined in this type.
nested_types: Vec<ClrType>Nested types defined within this type.
attributes: Vec<ClrAttribute>Custom attributes applied to this type.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ClrType
impl RefUnwindSafe for ClrType
impl Send for ClrType
impl Sync for ClrType
impl Unpin for ClrType
impl UnsafeUnpin for ClrType
impl UnwindSafe for ClrType
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more