#[repr(C)]pub union rmw_event_payload_t {
pub liveliness_changed: rmw_liveliness_changed_status_t,
pub count: rmw_count_status_t,
}Expand description
Borrow-shaped union the backend supplies to the registered
callback. The kind argument selects which member is valid.
Fields§
§liveliness_changed: rmw_liveliness_changed_status_t§count: rmw_count_status_tTrait Implementations§
Source§impl Clone for rmw_event_payload_t
impl Clone for rmw_event_payload_t
Source§fn clone(&self) -> rmw_event_payload_t
fn clone(&self) -> rmw_event_payload_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for rmw_event_payload_t
Auto Trait Implementations§
impl Freeze for rmw_event_payload_t
impl RefUnwindSafe for rmw_event_payload_t
impl Send for rmw_event_payload_t
impl Sync for rmw_event_payload_t
impl Unpin for rmw_event_payload_t
impl UnsafeUnpin for rmw_event_payload_t
impl UnwindSafe for rmw_event_payload_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