Struct ywasm::YTextEvent
source · [−]pub struct YTextEvent { /* private fields */ }
Expand description
Event generated by YYText.observe
method. Emitted during transaction commit phase.
Implementations
sourceimpl YTextEvent
impl YTextEvent
Trait Implementations
sourceimpl From<YTextEvent> for JsValue
impl From<YTextEvent> for JsValue
sourcefn from(value: YTextEvent) -> Self
fn from(value: YTextEvent) -> Self
Performs the conversion.
sourceimpl FromWasmAbi for YTextEvent
impl FromWasmAbi for YTextEvent
sourceimpl IntoWasmAbi for YTextEvent
impl IntoWasmAbi for YTextEvent
sourceimpl OptionFromWasmAbi for YTextEvent
impl OptionFromWasmAbi for YTextEvent
sourceimpl OptionIntoWasmAbi for YTextEvent
impl OptionIntoWasmAbi for YTextEvent
sourceimpl RefFromWasmAbi for YTextEvent
impl RefFromWasmAbi for YTextEvent
type Anchor = Ref<'static, YTextEvent>
type Anchor = Ref<'static, YTextEvent>
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. Read more
sourceunsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_from_abi(js: Self::Abi) -> Self::Anchor
Recover a Self::Anchor
from Self::Abi
. Read more
sourceimpl RefMutFromWasmAbi for YTextEvent
impl RefMutFromWasmAbi for YTextEvent
type Anchor = RefMut<'static, YTextEvent>
type Anchor = RefMut<'static, YTextEvent>
Same as RefFromWasmAbi::Anchor
sourceunsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
unsafe fn ref_mut_from_abi(js: Self::Abi) -> Self::Anchor
Same as RefFromWasmAbi::ref_from_abi
sourceimpl WasmDescribe for YTextEvent
impl WasmDescribe for YTextEvent
Auto Trait Implementations
impl !RefUnwindSafe for YTextEvent
impl !Send for YTextEvent
impl !Sync for YTextEvent
impl Unpin for YTextEvent
impl !UnwindSafe for YTextEvent
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
sourceimpl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
impl<T> ReturnWasmAbi for T where
T: IntoWasmAbi,
type Abi = <T as IntoWasmAbi>::Abi
type Abi = <T as IntoWasmAbi>::Abi
Same as IntoWasmAbi::Abi
sourcefn 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
. Read more