pub struct ClrType {
pub name: String,
pub namespace: Option<String>,
pub access_flags: ClrAccessFlags,
pub base_type: Option<String>,
pub interfaces: Vec<String>,
pub fields: Vec<ClrField>,
pub methods: Vec<ClrMethod>,
pub properties: Vec<ClrProperty>,
pub events: Vec<ClrEvent>,
pub nested_types: Vec<ClrType>,
pub attributes: Vec<ClrAttribute>,
}Expand description
CLR 类型定义
Fields§
§name: String类型名称
namespace: Option<String>命名空间
access_flags: ClrAccessFlags访问标志
base_type: Option<String>基类型
interfaces: Vec<String>实现的接口
fields: Vec<ClrField>字段列表
methods: Vec<ClrMethod>方法列表
properties: Vec<ClrProperty>属性列表
events: Vec<ClrEvent>事件列表
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 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