Trait ITrigger
pub trait ITrigger: AsAny {
// Provided methods
fn attach_override(&self) -> Result<(), Error> { ... }
fn detach_override(&self) -> Result<(), Error> { ... }
}Provided Methods§
fn attach_override(&self) -> Result<(), Error>
fn attach_override(&self) -> Result<(), Error>
NodeComponent calls this function during attaching of node component to a node.
Subclasses of NodeComponent can override this function to add custom logic which
will be performed during node component attach. By default this function does nothing.
fn detach_override(&self) -> Result<(), Error>
fn detach_override(&self) -> Result<(), Error>
NodeComponent calls this function during detaching of node component from a node.
Subclasses of NodeComponent can override this function to add custom logic which
will be performed during node component detach. By default this function does nothing.