pub trait LiveHook {
// Provided methods
fn before_live_design(_cx: &mut Cx) { ... }
fn apply_value_unknown(
&mut self,
cx: &mut Cx,
_apply_from: ApplyFrom,
index: usize,
nodes: &[LiveNode]
) -> usize { ... }
fn apply_value_instance(
&mut self,
_cx: &mut Cx,
_apply_from: ApplyFrom,
index: usize,
nodes: &[LiveNode]
) -> usize { ... }
fn skip_apply(
&mut self,
_cx: &mut Cx,
_apply_from: ApplyFrom,
_index: usize,
_nodes: &[LiveNode]
) -> Option<usize> { ... }
fn before_apply(
&mut self,
_cx: &mut Cx,
_apply_from: ApplyFrom,
_index: usize,
_nodes: &[LiveNode]
) { ... }
fn after_apply(
&mut self,
_cx: &mut Cx,
_apply_from: ApplyFrom,
_index: usize,
_nodes: &[LiveNode]
) { ... }
fn after_apply_from(&mut self, cx: &mut Cx, apply_from: ApplyFrom) { ... }
fn after_new_from_doc(&mut self, _cx: &mut Cx) { ... }
fn after_new_before_apply(&mut self, _cx: &mut Cx) { ... }
}