#[non_exhaustive]pub struct Caller<'a, UserData = ()> {
pub user_data: &'a mut UserData,
pub instance: &'a mut RawInstance,
}
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.user_data: &'a mut UserData
§instance: &'a mut RawInstance
Auto Trait Implementations§
impl<'a, UserData> Freeze for Caller<'a, UserData>
impl<'a, UserData = ()> !RefUnwindSafe for Caller<'a, UserData>
impl<'a, UserData> Send for Caller<'a, UserData>where
UserData: Send,
impl<'a, UserData> Sync for Caller<'a, UserData>where
UserData: Sync,
impl<'a, UserData> Unpin for Caller<'a, UserData>
impl<'a, UserData = ()> !UnwindSafe for Caller<'a, UserData>
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