Struct yrs::YWeakLinkEvent
source · #[repr(C)]pub struct YWeakLinkEvent { /* private fields */ }
Expand description
Event pushed into callbacks registered with yweak_observe
function. It contains
all an event changes of the underlying transaction.
Methods from Deref<Target = WeakEvent>§
pub fn as_target<T>(&self) -> WeakRef<T>
sourcepub fn path(&self) -> VecDeque<PathSegment>
pub fn path(&self) -> VecDeque<PathSegment>
Returns a path from root type down to [Text] instance which emitted this event.
Trait Implementations§
source§impl Clone for YWeakLinkEvent
impl Clone for YWeakLinkEvent
source§fn clone(&self) -> YWeakLinkEvent
fn clone(&self) -> YWeakLinkEvent
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Deref for YWeakLinkEvent
impl Deref for YWeakLinkEvent
impl Copy 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