pub enum ClrTypeReference {
Primitive(String),
Type(String, Option<String>),
Array(Box<ClrTypeReference>),
Generic(Box<ClrTypeReference>, Vec<ClrTypeReference>),
}Expand description
CLR type reference representing a reference to a type in the CLR type system.
Variants§
Primitive(String)
Primitive type reference (e.g., “int32”, “string”).
Type(String, Option<String>)
User-defined type reference with optional namespace.
Array(Box<ClrTypeReference>)
Array type reference.
Generic(Box<ClrTypeReference>, Vec<ClrTypeReference>)
Generic type instantiation with type arguments.
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 Hash for ClrTypeReference
impl Hash for ClrTypeReference
Source§impl PartialEq for ClrTypeReference
impl PartialEq for ClrTypeReference
impl Eq 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 UnsafeUnpin 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