pub struct NilError<T: ToLuaMulti>(pub T);Expand description
Mark an error result return as nil, error rather than raising it
Tuple Fields§
§0: TTrait Implementations§
source§impl<T: ToLuaMulti> ToLuaMulti for NilError<T>
impl<T: ToLuaMulti> ToLuaMulti for NilError<T>
Auto Trait Implementations§
impl<T> RefUnwindSafe for NilError<T>where T: RefUnwindSafe,
impl<T> Send for NilError<T>where T: Send,
impl<T> Sync for NilError<T>where T: Sync,
impl<T> Unpin for NilError<T>where T: Unpin,
impl<T> UnwindSafe for NilError<T>where T: UnwindSafe,
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