pub struct EventTypeEquivalent {
pub valuetype_name: Identifier,
pub valuetype_bases: Vec<ScopedName>,
pub consumer_interface: InterfaceDef,
}Expand description
Result of the event-type transformation — Spec §6.6.1.1.
From eventtype E { state-members }, two IDL definitions are
derived:
valuetype E { state-members }(with additional inheritance fromComponents::EventBasefor the first eventtype in a chain).interface EConsumer : Components::EventConsumerBase { void push_E(in E the_e); };.
Fields§
§valuetype_name: IdentifierThe equivalent valuetype name (with : Components::EventBase for
the first in the chain).
valuetype_bases: Vec<ScopedName>Inheritance bases of the valuetype (per Spec §6.6.1.1: first in
the chain Components::EventBase, derived eventtype BaseValueType, :: Components::EventBase).
consumer_interface: InterfaceDef<event_type>Consumer interface (Spec §6.6.1.1).
Trait Implementations§
Source§impl Clone for EventTypeEquivalent
impl Clone for EventTypeEquivalent
Source§fn clone(&self) -> EventTypeEquivalent
fn clone(&self) -> EventTypeEquivalent
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 moreSource§impl Debug for EventTypeEquivalent
impl Debug for EventTypeEquivalent
Source§impl PartialEq for EventTypeEquivalent
impl PartialEq for EventTypeEquivalent
Source§fn eq(&self, other: &EventTypeEquivalent) -> bool
fn eq(&self, other: &EventTypeEquivalent) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for EventTypeEquivalent
Auto Trait Implementations§
impl Freeze for EventTypeEquivalent
impl RefUnwindSafe for EventTypeEquivalent
impl Send for EventTypeEquivalent
impl Sync for EventTypeEquivalent
impl Unpin for EventTypeEquivalent
impl UnsafeUnpin for EventTypeEquivalent
impl UnwindSafe for EventTypeEquivalent
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