LiveHook

Trait LiveHook 

Source
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§

Source

fn apply_value_unknown( &mut self, cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, index: usize, nodes: &[LiveNode], ) -> usize

Source

fn skip_apply_animator( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, _index: usize, _nodes: &[LiveNode], ) -> bool

Source

fn apply_value_instance( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, index: usize, nodes: &[LiveNode], ) -> usize

Source

fn skip_apply( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, _index: usize, _nodes: &[LiveNode], ) -> Option<usize>

Source

fn before_apply( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, _index: usize, _nodes: &[LiveNode], )

Source

fn after_apply( &mut self, _cx: &mut Cx, _apply: &mut Apply<'_, '_, '_>, _index: usize, _nodes: &[LiveNode], )

Source

fn after_apply_from(&mut self, cx: &mut Cx, apply: &mut Apply<'_, '_, '_>)

Source

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

Source

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

Source

fn after_apply_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 bool

Source§

impl LiveHook for f32

Source§

impl LiveHook for f64

Source§

impl LiveHook for i32

Source§

impl LiveHook for i64

Source§

impl LiveHook for u32

Source§

impl LiveHook for u64

Source§

impl LiveHook for usize

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,

Implementors§

Source§

impl LiveHook for ArcStringMut

Source§

impl LiveHook for Ease

Source§

impl LiveHook for KeyCode

Source§

impl LiveHook for LiveValue

Source§

impl LiveHook for MouseCursor

Source§

impl LiveHook for Play

Source§

impl LiveHook for Axis2

Source§

impl LiveHook for Flow

Source§

impl LiveHook for Size

Source§

impl LiveHook for DrawList2d

Source§

impl LiveHook for GeometryCube3D

Source§

impl LiveHook for GeometryQuad2D

Source§

impl LiveHook for boola

Source§

impl LiveHook for f32a

Source§

impl LiveHook for f64a

Source§

impl LiveHook for i32a

Source§

impl LiveHook for i64a

Source§

impl LiveHook for u32a

Source§

impl LiveHook for Overlay

Source§

impl LiveHook for DrawColor

Source§

impl LiveHook for DrawCube

Source§

impl LiveHook for DrawIcon

Source§

impl LiveHook for DrawLine

Source§

impl LiveHook for DrawQuad

Source§

impl LiveHook for DrawText

Source§

impl LiveHook for FontFamily

Source§

impl LiveHook for TextStyle

Source§

impl LiveHook for DrawTrapezoidVector

Source§

impl LiveHook for String

Source§

impl LiveHook for Animator

Source§

impl LiveHook for DVec2

Source§

impl LiveHook for DrawVars

Source§

impl LiveHook for LiveDependency

Source§

impl LiveHook for LiveId

Source§

impl LiveHook for LivePtr

Source§

impl LiveHook for Margin

Source§

impl LiveHook for Mat4

Source§

impl LiveHook for Pass

Source§

impl LiveHook for Vec2

Source§

impl LiveHook for Vec3

Source§

impl LiveHook for Vec4

Source§

impl LiveHook for WindowHandle

Source§

impl LiveHook for Align

Source§

impl LiveHook for Layout

Source§

impl LiveHook for Padding

Source§

impl LiveHook for Walk

Source§

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

Source§

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

Source§

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