pub struct MapEvent { /* private fields */ }
Expand description
Event generated by YMap.observe
method. Emitted during transaction commit phase.
Implementations§
source§impl YMapEvent
impl YMapEvent
pub fn origin(&mut self) -> JsValue
sourcepub fn path(&self) -> JsValue
pub fn path(&self) -> JsValue
Returns an array of keys and indexes creating a path from root type down to current instance
of shared type (accessible via target
getter).
Trait Implementations§
source§impl FromWasmAbi for YMapEvent
impl FromWasmAbi for YMapEvent
source§impl IntoWasmAbi for YMapEvent
impl IntoWasmAbi for YMapEvent
source§impl LongRefFromWasmAbi for YMapEvent
impl LongRefFromWasmAbi for YMapEvent
source§impl OptionFromWasmAbi for YMapEvent
impl OptionFromWasmAbi for YMapEvent
source§impl OptionIntoWasmAbi for YMapEvent
impl OptionIntoWasmAbi for YMapEvent
source§impl RefFromWasmAbi for YMapEvent
impl RefFromWasmAbi for YMapEvent
source§impl RefMutFromWasmAbi for YMapEvent
impl RefMutFromWasmAbi for YMapEvent
source§impl TryFromJsValue for YMapEvent
impl TryFromJsValue for YMapEvent
source§impl VectorFromWasmAbi for YMapEvent
impl VectorFromWasmAbi for YMapEvent
source§impl VectorIntoWasmAbi for YMapEvent
impl VectorIntoWasmAbi for YMapEvent
Auto Trait Implementations§
impl Freeze for YMapEvent
impl !RefUnwindSafe for YMapEvent
impl !Send for YMapEvent
impl !Sync for YMapEvent
impl Unpin for YMapEvent
impl !UnwindSafe for YMapEvent
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
.