pub struct BufferUnloaded(/* private fields */);Expand description
Hookable: Triggers before unloading a Buffer.
§Arguments
- The
Buffer’sHandle.
This will happen before reloading Duat, on every Buffer that is
open at that point.
If you want to handle the closure of buffers, see the hook for
BufferClosed.
Trait Implementations§
Source§impl Hookable for BufferUnloaded
impl Hookable for BufferUnloaded
Source§impl PartialEq<Handle> for BufferUnloaded
impl PartialEq<Handle> for BufferUnloaded
Auto Trait Implementations§
impl Freeze for BufferUnloaded
impl !RefUnwindSafe for BufferUnloaded
impl Send for BufferUnloaded
impl Sync for BufferUnloaded
impl Unpin for BufferUnloaded
impl UnsafeUnpin for BufferUnloaded
impl !UnwindSafe for BufferUnloaded
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