pub struct Null;
Trait Implementations§
source§impl JvmOp for Null
impl JvmOp for Null
type Output<'jvm> = Null
source§fn do_jni<'jvm>(
self,
_jvm: &mut Jvm<'jvm>,
) -> LocalResult<'jvm, Self::Output<'jvm>>
fn do_jni<'jvm>( self, _jvm: &mut Jvm<'jvm>, ) -> LocalResult<'jvm, Self::Output<'jvm>>
Internal method
fn assert_not_null<T>(self) -> NotNull<Self>
source§fn upcast<To>(self) -> AsUpcast<Self, To>
fn upcast<To>(self) -> AsUpcast<Self, To>
Most duchess-wrapped Java objects will automatically be able to call all
methods defined on any of its super classes or interfaces it implements,
but this can be used to “force” the output of the operation to be typed
as an explicit super type
To
.fn catch<J>(self) -> TryCatch<Self, J>where
J: Upcast<Throwable>,
source§fn execute<R>(self) -> Result<R>
fn execute<R>(self) -> Result<R>
Execute on the JVM, starting a JVM instance if necessary. Read more
source§fn execute_with<'jvm, R>(self, jvm: &mut Jvm<'jvm>) -> LocalResult<'jvm, R>
fn execute_with<'jvm, R>(self, jvm: &mut Jvm<'jvm>) -> LocalResult<'jvm, R>
Internal method
impl Copy for Null
Auto Trait Implementations§
impl Freeze for Null
impl RefUnwindSafe for Null
impl Send for Null
impl Sync for Null
impl Unpin for Null
impl UnwindSafe for Null
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)