pub enum GenericType {
Primitive(PrimitiveType),
Class(GenericClassType),
Array(Box<GenericType>),
Variable(String),
}Expand description
A parsed JVM field type that preserves generic arguments.
Variants§
Primitive(PrimitiveType)
A primitive JVM type.
Class(GenericClassType)
A parameterized or ordinary class type.
Array(Box<GenericType>)
An array type.
Variable(String)
A type-variable reference such as TE;.
Trait Implementations§
Source§impl Clone for GenericType
impl Clone for GenericType
Source§impl Debug for GenericType
impl Debug for GenericType
impl Eq for GenericType
Source§impl Hash for GenericType
impl Hash for GenericType
Source§impl PartialEq for GenericType
impl PartialEq for GenericType
impl StructuralPartialEq for GenericType
Auto Trait Implementations§
impl Forget for GenericType
impl Freeze for GenericType
impl Move for GenericType
impl RefUnwindSafe for GenericType
impl Send for GenericType
impl Sync for GenericType
impl Unpin for GenericType
impl UnsafeUnpin for GenericType
impl UnwindSafe for GenericType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.