pub struct EventSpec {
pub name: String,
pub bubbling: EventBubbling,
pub optional: bool,
pub paper_top_level_name: Option<String>,
pub payload: Vec<ObjectField>,
pub payload_type_name: Option<String>,
pub doc: Option<String>,
}Expand description
Component event handler specification (DirectEventHandler / BubblingEventHandler).
Fields§
§name: String§bubbling: EventBubbling§optional: bool§paper_top_level_name: Option<String>§payload: Vec<ObjectField>§payload_type_name: Option<String>§doc: Option<String>Trait Implementations§
Source§impl<'de> Deserialize<'de> for EventSpec
impl<'de> Deserialize<'de> for EventSpec
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl StructuralPartialEq for EventSpec
Auto Trait Implementations§
impl Forget for EventSpec
impl Freeze for EventSpec
impl Move for EventSpec
impl RefUnwindSafe for EventSpec
impl Send for EventSpec
impl Sync for EventSpec
impl Unpin for EventSpec
impl UnsafeUnpin for EventSpecwhere
*const u8 is !null: UnsafeUnpin,
PhantomData<u8>: UnsafeUnpin,
PhantomData<ObjectField>: UnsafeUnpin,
impl UnwindSafe for EventSpec
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