pub struct MultibufferExcerptsReady {
pub view: BufferId,
}Expand description
Published by any provider after appending / replacing a view’s excerpts, so the cells worker rebuilds the display matrix off-keystroke.
The subscriber is the boot-registered wake
(install’s wake_on_event::<MultibufferExcerptsReady>()), which
fires async_landed — the primitive that makes async results reach
the screen without a keypress. A provider that appends excerpts and
does NOT publish this will appear to work in tests that press a key
first, and appear broken in use.
Fields§
§view: BufferIdTrait Implementations§
Source§impl Clone for MultibufferExcerptsReady
impl Clone for MultibufferExcerptsReady
Source§fn clone(&self) -> MultibufferExcerptsReady
fn clone(&self) -> MultibufferExcerptsReady
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for MultibufferExcerptsReady
impl Debug for MultibufferExcerptsReady
Source§impl Event for MultibufferExcerptsReady
impl Event for MultibufferExcerptsReady
Source§fn event_type_id(&self) -> EventTypeId
fn event_type_id(&self) -> EventTypeId
The type-id under which this event is registered.
Implementors typically delegate to a
static to avoid
re-allocating the metadata on every call. The macro
register_event! generates this for you.Auto Trait Implementations§
impl Freeze for MultibufferExcerptsReady
impl RefUnwindSafe for MultibufferExcerptsReady
impl Send for MultibufferExcerptsReady
impl Sync for MultibufferExcerptsReady
impl Unpin for MultibufferExcerptsReady
impl UnsafeUnpin for MultibufferExcerptsReady
impl UnwindSafe for MultibufferExcerptsReady
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> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
fn into_either(self, into_left: bool) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self> ⓘ
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more