pub enum Null<'a> {
String,
Boolean,
Byte,
Character,
Short,
Integer,
Long,
Float,
Double,
List,
Of(&'a str),
}Expand description
Represents Java’s null. Use this to create null Objects. E.g.:
let null_integer = InvocationArg::from(Null::Integer); let null_object = InvocationArg::from(Null::Of(“some.class.Name”));
Variants§
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Null<'a>
impl<'a> RefUnwindSafe for Null<'a>
impl<'a> Send for Null<'a>
impl<'a> Sync for Null<'a>
impl<'a> Unpin for Null<'a>
impl<'a> UnwindSafe for Null<'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