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 类型定义
Fields§
§name: String类型名称
namespace: Option<String>命名空间
access_flags: ClrAccessFlags访问标志
base_type: Option<ClrTypeReference>基类
interfaces: Vec<ClrTypeReference>实现的接口
fields: Vec<ClrField>类型中的字段
methods: Vec<ClrMethod>类型中的方法
properties: Vec<String>类型中的属性
events: Vec<String>类型中的事件
nested_types: Vec<ClrType>嵌套类型
attributes: Vec<ClrAttribute>类型特性
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