pub enum JavaType {
}Expand description
Java type representation.
Variants§
Int
int — 32-bit signed integer
Long
long — 64-bit signed integer
Double
double — 64-bit floating point
Float
float — 32-bit floating point
Boolean
boolean
Char
char
Byte
byte
Short
short
Void
void
String
String
Object
Object
Array(Box<JavaType>)
T[] — Java array
List(Box<JavaType>)
List<T>
Map(Box<JavaType>, Box<JavaType>)
Map<K, V>
Optional(Box<JavaType>)
Optional<T>
Custom(String)
User-defined named type
Generic(String, Vec<JavaType>)
Generic instantiation: MyType<A, B>
Trait Implementations§
impl Eq for JavaType
impl StructuralPartialEq for JavaType
Auto Trait Implementations§
impl Freeze for JavaType
impl RefUnwindSafe for JavaType
impl Send for JavaType
impl Sync for JavaType
impl Unpin for JavaType
impl UnsafeUnpin for JavaType
impl UnwindSafe for JavaType
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