Enum jni::signature::ReturnType
source · [−]pub enum ReturnType {
Primitive(Primitive),
Object,
Array,
}
Expand description
Enum representing any java type that may be used as a return value
This type intentionally avoids capturing any heap allocated types (to avoid
allocations while making JNI method calls) and so it doesn’t fully qualify
the object or array types with a String like JavaType::Object
does.
Variants
Primitive(Primitive)
Object
Array
Trait Implementations
sourceimpl Clone for ReturnType
impl Clone for ReturnType
sourcefn clone(&self) -> ReturnType
fn clone(&self) -> ReturnType
Returns a copy of the value. Read more
1.0.0 · sourceconst fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresourceimpl Debug for ReturnType
impl Debug for ReturnType
sourceimpl Display for ReturnType
impl Display for ReturnType
sourceimpl FromStr for ReturnType
impl FromStr for ReturnType
sourceimpl PartialEq<ReturnType> for ReturnType
impl PartialEq<ReturnType> for ReturnType
sourcefn eq(&self, other: &ReturnType) -> bool
fn eq(&self, other: &ReturnType) -> bool
impl Eq for ReturnType
impl StructuralEq for ReturnType
impl StructuralPartialEq for ReturnType
Auto Trait Implementations
impl RefUnwindSafe for ReturnType
impl Send for ReturnType
impl Sync for ReturnType
impl Unpin for ReturnType
impl UnwindSafe for ReturnType
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more