pub enum ElementType {
Show 26 variants
Void,
Boolean,
Char,
I1,
U1,
I2,
U2,
I4,
U4,
I8,
U8,
R4,
R8,
String,
Ptr,
ValueType,
Class,
Var,
Array,
GenericInst,
I,
U,
Object,
SzArray,
MVar,
Unknown(i32),
}Expand description
The managed element type of a field, parameter, or return value.
Variants§
Void
Boolean
Char
I1
U1
I2
U2
I4
U4
I8
U8
R4
R8
String
Ptr
ValueType
Class
Var
Array
GenericInst
I
U
Object
SzArray
MVar
Unknown(i32)
Implementations§
Source§impl ElementType
impl ElementType
Trait Implementations§
Source§impl Clone for ElementType
impl Clone for ElementType
impl Copy for ElementType
Source§impl Debug for ElementType
impl Debug for ElementType
Source§impl Display for ElementType
impl Display for ElementType
impl Eq for ElementType
Source§impl From<i32> for ElementType
impl From<i32> for ElementType
Source§impl Hash for ElementType
impl Hash for ElementType
Source§impl PartialEq for ElementType
impl PartialEq for ElementType
impl StructuralPartialEq for ElementType
Auto Trait Implementations§
impl Freeze for ElementType
impl RefUnwindSafe for ElementType
impl Send for ElementType
impl Sync for ElementType
impl Unpin for ElementType
impl UnsafeUnpin for ElementType
impl UnwindSafe for ElementType
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