pub struct OnReplaced(/* private fields */);Implementations§
Source§impl OnReplaced
impl OnReplaced
pub fn add_listener<L>(&self, listener: L) -> OnReplacedEventListener<'_>where
L: FnMut(ReplaceInfo) + 'static,
Auto Trait Implementations§
impl Freeze for OnReplaced
impl RefUnwindSafe for OnReplaced
impl !Send for OnReplaced
impl !Sync for OnReplaced
impl Unpin for OnReplaced
impl UnwindSafe for OnReplaced
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