pub trait LiveApply {
    // Required method
    fn apply(
        &mut self,
        cx: &mut Cx,
        from: ApplyFrom,
        index: usize,
        nodes: &[LiveNode]
    ) -> usize;

    // Provided method
    fn apply_over(&mut self, cx: &mut Cx, nodes: &[LiveNode]) { ... }
}

Required Methods§

source

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

Provided Methods§

source

fn apply_over(&mut self, cx: &mut Cx, nodes: &[LiveNode])

Implementations on Foreign Types§

source§

impl LiveApply for usize

source§

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

source§

impl LiveApply for i32

source§

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

source§

impl LiveApply for f32

source§

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

source§

impl LiveApply for u32

source§

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

source§

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

source§

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

source§

impl LiveApply for f64

source§

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

source§

impl LiveApply for i64

source§

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

source§

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

source§

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

source§

impl LiveApply for String

source§

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

source§

impl LiveApply for bool

source§

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

source§

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

source§

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

source§

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

source§

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

Implementors§

source§

impl LiveApply for Ease

source§

impl LiveApply for LiveValue

source§

impl LiveApply for MouseCursor

source§

impl LiveApply for Play

source§

impl LiveApply for RcStringMut

source§

impl LiveApply for TextWrap

source§

impl LiveApply for Axis

source§

impl LiveApply for Flow

source§

impl LiveApply for Size

source§

impl LiveApply for DrawList2d

source§

impl LiveApply for Font

source§

impl LiveApply for GeometryQuad2D

source§

impl LiveApply for boola

source§

impl LiveApply for f32a

source§

impl LiveApply for i32a

source§

impl LiveApply for i64a

source§

impl LiveApply for u32a

source§

impl LiveApply for Rc<String, Global>

source§

impl LiveApply for Overlay

source§

impl LiveApply for DrawColor

source§

impl LiveApply for DrawIcon

source§

impl LiveApply for DrawQuad

source§

impl LiveApply for DrawText

source§

impl LiveApply for TextStyle

source§

impl LiveApply for DrawTrapezoidVector

source§

impl LiveApply for Animator

source§

impl LiveApply for DVec2

source§

impl LiveApply for DrawVars

source§

impl LiveApply for LiveDependency

source§

impl LiveApply for LiveId

source§

impl LiveApply for LivePtr

source§

impl LiveApply for Margin

source§

impl LiveApply for Pass

source§

impl LiveApply for Texture

source§

impl LiveApply for Vec2

source§

impl LiveApply for Vec3

source§

impl LiveApply for Vec4

source§

impl LiveApply for WindowHandle

source§

impl LiveApply for Align

source§

impl LiveApply for Layout

source§

impl LiveApply for Padding

source§

impl LiveApply for Walk

source§

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