pub enum Value<'a> {
Boolean(bool),
Byte(i8),
Char(char),
Short(i16),
Int(i32),
Long(i64),
Float(f32),
Double(f64),
Void,
Object(Object<'a>),
}
Expand description
An enum representing Java values
Variants§
Boolean(bool)
A boolean value
Byte(i8)
A byte value
Char(char)
A char value
Short(i16)
A short value
Int(i32)
An int value
Long(i64)
A long value
Float(f32)
A float value
Double(f64)
A double value
Void
A void value
Object(Object<'a>)
An object value
Trait Implementations§
Auto Trait Implementations§
impl<'a> RefUnwindSafe for Value<'a>
impl<'a> !Send for Value<'a>
impl<'a> !Sync for Value<'a>
impl<'a> Unpin for Value<'a>
impl<'a> UnwindSafe for Value<'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