pub struct ClrTypeReference {
pub name: String,
pub namespace: Option<String>,
pub assembly: Option<String>,
pub is_value_type: bool,
pub is_reference_type: bool,
pub generic_parameters: Vec<ClrTypeReference>,
}Expand description
CLR 类型引用
Fields§
§name: String类型名称
namespace: Option<String>命名空间
assembly: Option<String>程序集引用
is_value_type: bool是否为值类型
is_reference_type: bool是否为引用类型
generic_parameters: Vec<ClrTypeReference>泛型参数
Implementations§
Trait Implementations§
Source§impl Clone for ClrTypeReference
impl Clone for ClrTypeReference
Source§fn clone(&self) -> ClrTypeReference
fn clone(&self) -> ClrTypeReference
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ClrTypeReference
impl Debug for ClrTypeReference
Source§impl Default for ClrTypeReference
impl Default for ClrTypeReference
Source§impl PartialEq for ClrTypeReference
impl PartialEq for ClrTypeReference
impl StructuralPartialEq for ClrTypeReference
Auto Trait Implementations§
impl Freeze for ClrTypeReference
impl RefUnwindSafe for ClrTypeReference
impl Send for ClrTypeReference
impl Sync for ClrTypeReference
impl Unpin for ClrTypeReference
impl UnwindSafe for ClrTypeReference
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