Skip to main content

NodeDropperSgl

Trait NodeDropperSgl 

Source
pub trait NodeDropperSgl:
    'static
    + Sized
    + SingletonGetter
    + NodeOwnerSgl {
    // Required method
    fn on_drop(dropped: &mut (impl EgglogNode + 'static));
}

Required Methods§

Source

fn on_drop(dropped: &mut (impl EgglogNode + 'static))

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§

Source§

impl<S: SingletonGetter> NodeDropperSgl for S
where S::RetTy: NodeDropper + 'static,