#[repr(C)]pub struct dds_loaned_sample {
pub ops: dds_loaned_sample_ops_t,
pub loan_origin: dds_loaned_sample_origin,
pub metadata: *mut dds_psmx_metadata,
pub sample_ptr: *mut c_void,
pub refc: ddsrt_atomic_uint32_t,
}Expand description
@brief The definition of a Loaned Sample @ingroup loaned_sample
Fields§
§ops: dds_loaned_sample_ops_t!< the implementation specific ops for this sample
loan_origin: dds_loaned_sample_origin!< the origin of the loan
metadata: *mut dds_psmx_metadata!< pointer to the associated metadata
sample_ptr: *mut c_void!< pointer to the loaned sample
refc: ddsrt_atomic_uint32_t!< the number of references to this loan
Trait Implementations§
Auto Trait Implementations§
impl Freeze for dds_loaned_sample
impl RefUnwindSafe for dds_loaned_sample
impl !Send for dds_loaned_sample
impl !Sync for dds_loaned_sample
impl Unpin for dds_loaned_sample
impl UnsafeUnpin for dds_loaned_sample
impl UnwindSafe for dds_loaned_sample
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