pub trait LiveHook {
// Provided methods
fn apply_value_unknown(
&mut self,
cx: &mut Cx,
_apply: &mut Apply<'_, '_, '_>,
index: usize,
nodes: &[LiveNode],
) -> usize { ... }
fn skip_apply_animator(
&mut self,
_cx: &mut Cx,
_apply: &mut Apply<'_, '_, '_>,
_index: usize,
_nodes: &[LiveNode],
) -> bool { ... }
fn apply_value_instance(
&mut self,
_cx: &mut Cx,
_apply: &mut Apply<'_, '_, '_>,
index: usize,
nodes: &[LiveNode],
) -> usize { ... }
fn skip_apply(
&mut self,
_cx: &mut Cx,
_apply: &mut Apply<'_, '_, '_>,
_index: usize,
_nodes: &[LiveNode],
) -> Option<usize> { ... }
fn before_apply(
&mut self,
_cx: &mut Cx,
_apply: &mut Apply<'_, '_, '_>,
_index: usize,
_nodes: &[LiveNode],
) { ... }
fn after_apply(
&mut self,
_cx: &mut Cx,
_apply: &mut Apply<'_, '_, '_>,
_index: usize,
_nodes: &[LiveNode],
) { ... }
fn after_apply_from(&mut self, cx: &mut Cx, apply: &mut Apply<'_, '_, '_>) { ... }
fn after_new_from_doc(&mut self, _cx: &mut Cx) { ... }
fn after_update_from_doc(&mut self, _cx: &mut Cx) { ... }
fn after_apply_from_doc(&mut self, _cx: &mut Cx) { ... }
fn after_new_before_apply(&mut self, _cx: &mut Cx) { ... }
}Provided Methods§
fn apply_value_unknown( &mut self, cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, index: usize, nodes: &[LiveNode], ) -> usize
fn skip_apply_animator( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, _index: usize, _nodes: &[LiveNode], ) -> bool
fn apply_value_instance( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, index: usize, nodes: &[LiveNode], ) -> usize
fn skip_apply( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, _index: usize, _nodes: &[LiveNode], ) -> Option<usize>
fn before_apply( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, _index: usize, _nodes: &[LiveNode], )
fn after_apply( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, _index: usize, _nodes: &[LiveNode], )
fn after_apply_from(&mut self, cx: &mut Cx, apply: &mut Apply<'_, '_, '_>)
fn after_new_from_doc(&mut self, _cx: &mut Cx)
fn after_update_from_doc(&mut self, _cx: &mut Cx)
fn after_apply_from_doc(&mut self, _cx: &mut Cx)
fn after_new_before_apply(&mut self, _cx: &mut Cx)
Dyn Compatibility§
This trait is dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety".