pub enum Type<'a> {
Boolean,
Byte,
Char,
Short,
Int,
Long,
Float,
Double,
Void,
Object(&'a str),
Array(&'a Type<'a>),
}
Expand description
An enum representing Java types
Variants§
Boolean
A boolean type
Byte
A byte type
Char
A char type
Short
A short type
Int
An int type
Long
A long type
Float
A float type
Double
A double type
Void
A void type
Object(&'a str)
An object type
Array(&'a Type<'a>)
An array type
Trait Implementations§
impl<'a> Copy for Type<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Type<'a>
impl<'a> Send for Type<'a>
impl<'a> Sync for Type<'a>
impl<'a> Unpin for Type<'a>
impl<'a> UnwindSafe for Type<'a>
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