#[repr(C)]pub struct ThreadWriteBackMsg {
pub data: RefAny,
pub callback: WriteBackCallback,
}
Fields§
§data: RefAny
§callback: WriteBackCallback
Implementations§
Source§impl ThreadWriteBackMsg
impl ThreadWriteBackMsg
pub fn new(callback: WriteBackCallbackType, data: RefAny) -> Self
Trait Implementations§
Source§impl Clone for ThreadWriteBackMsg
impl Clone for ThreadWriteBackMsg
Source§fn clone(&self) -> ThreadWriteBackMsg
fn clone(&self) -> ThreadWriteBackMsg
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for ThreadWriteBackMsg
impl Debug for ThreadWriteBackMsg
Source§impl Hash for ThreadWriteBackMsg
impl Hash for ThreadWriteBackMsg
Source§impl Ord for ThreadWriteBackMsg
impl Ord for ThreadWriteBackMsg
Source§fn cmp(&self, other: &ThreadWriteBackMsg) -> Ordering
fn cmp(&self, other: &ThreadWriteBackMsg) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for ThreadWriteBackMsg
impl PartialEq for ThreadWriteBackMsg
Source§impl PartialOrd for ThreadWriteBackMsg
impl PartialOrd for ThreadWriteBackMsg
impl Eq for ThreadWriteBackMsg
impl StructuralPartialEq for ThreadWriteBackMsg
Auto Trait Implementations§
impl Freeze for ThreadWriteBackMsg
impl RefUnwindSafe for ThreadWriteBackMsg
impl Send for ThreadWriteBackMsg
impl Sync for ThreadWriteBackMsg
impl Unpin for ThreadWriteBackMsg
impl UnwindSafe for ThreadWriteBackMsg
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§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more