pub struct EventHold { /* private fields */ }Expand description
Holds back the document’s events while it is alive: made by
TextDocument::hold_events, and dropping it releases
them.
Owns a handle on the document, so it may be kept in a host’s state between the call that begins a batch and the one that ends it.
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for EventHold
impl !UnwindSafe for EventHold
impl Freeze for EventHold
impl Send for EventHold
impl Sync for EventHold
impl Unpin for EventHold
impl UnsafeUnpin for EventHold
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