#[repr(C)]pub struct Return<T: Crossing + Copy> { /* private fields */ }
Expand description
Return value to be filled by the secure call. Concrete versions of this are generated by the macro.
Implementations§
source§impl<T: Crossing + Copy> Return<T>
impl<T: Crossing + Copy> Return<T>
pub fn with_alloca<F, R>(f: F) -> Rwhere F: FnOnce(&mut Self) -> R,
sourcepub fn into_inner(self) -> Option<T>
pub fn into_inner(self) -> Option<T>
If a previous call to set is made, or this was constructed by new(), then into_inner returns the inner value. Otherwise, returns None.
sourcepub fn new_uninit() -> Self
pub fn new_uninit() -> Self
Construct a new, uninitialized Self.
Trait Implementations§
impl<T: Copy + Crossing + Copy> Copy for Return<T>
Auto Trait Implementations§
impl<T> Crossing for Return<T>
impl<T> ObjSafe for Return<T>where T: ObjSafe,
impl<T> RefUnwindSafe for Return<T>where T: RefUnwindSafe,
impl<T> Send for Return<T>where T: Send,
impl<T> Sync for Return<T>where T: Sync,
impl<T> Unpin for Return<T>where T: Unpin,
impl<T> UnwindSafe for Return<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