Struct wasix::Subscription
source · #[repr(C)]pub struct Subscription {
pub userdata: Userdata,
pub u: SubscriptionU,
}Fields§
§userdata: UserdataUser-provided value that is attached to the subscription in the
implementation and returned through event::userdata.
u: SubscriptionUThe type of the event to which to subscribe, and its contents
Trait Implementations§
source§impl Clone for Subscription
impl Clone for Subscription
source§fn clone(&self) -> Subscription
fn clone(&self) -> Subscription
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 more