Struct ywasm::WeakLinkEvent
source · pub struct WeakLinkEvent { /* private fields */ }
Expand description
Event generated by YXmlElement.observe
method. Emitted during transaction commit phase.
Implementations§
Trait Implementations§
source§impl From<YWeakLinkEvent> for JsValue
impl From<YWeakLinkEvent> for JsValue
source§fn from(value: YWeakLinkEvent) -> Self
fn from(value: YWeakLinkEvent) -> Self
Converts to this type from the input type.
source§impl FromWasmAbi for YWeakLinkEvent
impl FromWasmAbi for YWeakLinkEvent
source§impl IntoWasmAbi for YWeakLinkEvent
impl IntoWasmAbi for YWeakLinkEvent
source§impl LongRefFromWasmAbi for YWeakLinkEvent
impl LongRefFromWasmAbi for YWeakLinkEvent
source§impl OptionFromWasmAbi for YWeakLinkEvent
impl OptionFromWasmAbi for YWeakLinkEvent
source§impl OptionIntoWasmAbi for YWeakLinkEvent
impl OptionIntoWasmAbi for YWeakLinkEvent
source§impl RefFromWasmAbi for YWeakLinkEvent
impl RefFromWasmAbi for YWeakLinkEvent
§type Anchor = Ref<'static, YWeakLinkEvent>
type Anchor = Ref<'static, YWeakLinkEvent>
The type that holds the reference to
Self
for the duration of the
invocation of the function that has an &Self
parameter. This is
required to ensure that the lifetimes don’t persist beyond one function
call, and so that they remain anonymous.source§impl RefMutFromWasmAbi for YWeakLinkEvent
impl RefMutFromWasmAbi for YWeakLinkEvent
source§impl TryFromJsValue for YWeakLinkEvent
impl TryFromJsValue for YWeakLinkEvent
source§impl VectorFromWasmAbi for YWeakLinkEvent
impl VectorFromWasmAbi for YWeakLinkEvent
type Abi = <Box<[JsValue]> as FromWasmAbi>::Abi
unsafe fn vector_from_abi(js: Self::Abi) -> Box<[YWeakLinkEvent]>
source§impl VectorIntoWasmAbi for YWeakLinkEvent
impl VectorIntoWasmAbi for YWeakLinkEvent
type Abi = <Box<[JsValue]> as IntoWasmAbi>::Abi
fn vector_into_abi(vector: Box<[YWeakLinkEvent]>) -> Self::Abi
source§impl WasmDescribeVector for YWeakLinkEvent
impl WasmDescribeVector for YWeakLinkEvent
Auto Trait Implementations§
impl Freeze for YWeakLinkEvent
impl !RefUnwindSafe for YWeakLinkEvent
impl !Send for YWeakLinkEvent
impl !Sync for YWeakLinkEvent
impl Unpin for YWeakLinkEvent
impl !UnwindSafe for YWeakLinkEvent
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
source§impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for Twhere
T: IntoWasmAbi,
§type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as
IntoWasmAbi::Abi
source§fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
fn return_abi(self) -> <T as ReturnWasmAbi>::Abi
Same as
IntoWasmAbi::into_abi
, except that it may throw and never
return in the case of Err
.