pub struct NativeMsg<T>where
T: WrappedTypesupport,{
pub msg: *mut T::CStruct,
pub is_loaned: bool,
/* private fields */
}
Expand description
This struct wraps a RCL message.
It contains a pointer to a C struct.
Fields§
§msg: *mut T::CStruct
§is_loaned: bool
Implementations§
source§impl<T> WrappedNativeMsg<T>where
T: WrappedTypesupport + 'static,
impl<T> WrappedNativeMsg<T>where
T: WrappedTypesupport + 'static,
Trait Implementations§
source§impl<T> Default for WrappedNativeMsg<T>where
T: WrappedTypesupport + 'static,
impl<T> Default for WrappedNativeMsg<T>where
T: WrappedTypesupport + 'static,
source§impl<T> DerefMut for WrappedNativeMsg<T>where
T: WrappedTypesupport,
impl<T> DerefMut for WrappedNativeMsg<T>where
T: WrappedTypesupport,
source§impl<T> Drop for WrappedNativeMsg<T>where
T: WrappedTypesupport,
impl<T> Drop for WrappedNativeMsg<T>where
T: WrappedTypesupport,
source§impl<T> Deref for WrappedNativeMsg<T>where
T: WrappedTypesupport,
impl<T> Deref for WrappedNativeMsg<T>where
T: WrappedTypesupport,
Auto Trait Implementations§
impl<T> Freeze for WrappedNativeMsg<T>
impl<T> !RefUnwindSafe for WrappedNativeMsg<T>
impl<T> !Send for WrappedNativeMsg<T>
impl<T> !Sync for WrappedNativeMsg<T>
impl<T> Unpin for WrappedNativeMsg<T>
impl<T> !UnwindSafe for WrappedNativeMsg<T>
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> 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