LiveApply

Trait LiveApply 

Source
pub trait LiveApply {
    // Required method
    fn apply(
        &mut self,
        cx: &mut Cx,
        apply: &mut Apply<'_, '_, '_>,
        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, apply: &mut Apply<'_, '_, '_>, 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 bool

Source§

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

Source§

impl LiveApply for f32

Source§

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

Source§

impl LiveApply for f64

Source§

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

Source§

impl LiveApply for i32

Source§

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

Source§

impl LiveApply for i64

Source§

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

Source§

impl LiveApply for u32

Source§

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

Source§

impl LiveApply for u64

Source§

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

Source§

impl LiveApply for usize

Source§

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

Source§

impl LiveApply for String

Source§

fn apply( &mut self, cx: &mut Cx, apply: &mut Apply<'_, '_, '_>, 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, apply: &mut Apply<'_, '_, '_>, index: usize, nodes: &[LiveNode], ) -> usize

Source§

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

Source§

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

Source§

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

Source§

fn apply( &mut self, cx: &mut Cx, apply: &mut Apply<'_, '_, '_>, 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, apply: &mut Apply<'_, '_, '_>, index: usize, nodes: &[LiveNode], ) -> usize

Implementors§