pub enum JValue<'a> {
Object(JObject<'a>),
Byte(i8),
Char(u16),
Short(i16),
Int(i32),
Long(i64),
Bool(u8),
Float(f32),
Double(f64),
Void,
}
Expand description
Rusty version of the JNI C jvalue
enum. Used in Java method call arguments
and returns.
Variants§
Object(JObject<'a>)
Byte(i8)
Char(u16)
Short(i16)
Int(i32)
Long(i64)
Bool(u8)
Float(f32)
Double(f64)
Void
Implementations§
Trait Implementations§
impl<'a> Copy for JValue<'a>
Auto Trait Implementations§
impl<'a> Freeze for JValue<'a>
impl<'a> RefUnwindSafe for JValue<'a>
impl<'a> !Send for JValue<'a>
impl<'a> !Sync for JValue<'a>
impl<'a> Unpin for JValue<'a>
impl<'a> UnwindSafe for JValue<'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