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) { ... }
}

Provided Methods§

source

fn before_live_design(_cx: &mut Cx)

source

fn apply_value_unknown( &mut self, cx: &mut Cx, _apply_from: ApplyFrom, index: usize, nodes: &[LiveNode] ) -> usize

source

fn apply_value_instance( &mut self, _cx: &mut Cx, _apply_from: ApplyFrom, index: usize, nodes: &[LiveNode] ) -> usize

source

fn skip_apply( &mut self, _cx: &mut Cx, _apply_from: ApplyFrom, _index: usize, _nodes: &[LiveNode] ) -> Option<usize>

source

fn before_apply( &mut self, _cx: &mut Cx, _apply_from: ApplyFrom, _index: usize, _nodes: &[LiveNode] )

source

fn after_apply( &mut self, _cx: &mut Cx, _apply_from: ApplyFrom, _index: usize, _nodes: &[LiveNode] )

source

fn after_apply_from(&mut self, cx: &mut Cx, apply_from: ApplyFrom)

source

fn after_new_from_doc(&mut self, _cx: &mut Cx)

source

fn after_new_before_apply(&mut self, _cx: &mut Cx)

Implementations on Foreign Types§

source§

impl LiveHook for f64

source§

impl<T> LiveHook for Vec<T>where T: LiveApply + LiveNew + 'static,

source§

impl LiveHook for String

source§

impl LiveHook for usize

source§

impl LiveHook for u32

source§

impl<T> LiveHook for Arc<T>where T: LiveApply + LiveNew + 'static + LiveAtomic,

source§

impl LiveHook for bool

source§

impl<T> LiveHook for Option<T>where T: LiveApply + LiveNew + 'static,

source§

impl<T, const N: usize> LiveHook for [T; N]where T: LiveApply + LiveNew + 'static,

source§

impl LiveHook for i32

source§

impl LiveHook for i64

source§

impl LiveHook for f32

Implementors§