Type Alias makepad_platform::LiveRef

pub type LiveRef = Option<LivePtr>;

Aliased Type§

enum LiveRef {
    None,
    Some(LivePtr),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(LivePtr)

Some value of type T.

Trait Implementations§

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§

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

source§

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

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)

source§

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

source§

fn new(_cx: &mut Cx) -> Self

source§

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

source§

fn live_type_info(_cx: &mut Cx) -> LiveTypeInfo

source§

fn live_design_with(_cx: &mut Cx)

source§

fn new_apply_mut_index( cx: &mut Cx, from: ApplyFrom, index: &mut usize, nodes: &[LiveNode] ) -> Selfwhere Self: Sized,

source§

fn new_from_ptr(cx: &mut Cx, live_ptr: Option<LivePtr>) -> Selfwhere Self: Sized,

source§

fn new_main(cx: &mut Cx) -> Selfwhere Self: Sized,

source§

fn update_main(&mut self, cx: &mut Cx)

source§

fn new_local(cx: &mut Cx) -> Selfwhere Self: Sized,

source§

fn new_from_module( cx: &mut Cx, module_id: LiveModuleId, id: LiveId ) -> Option<Self>where Self: Sized,

source§

fn update_from_module( &mut self, cx: &mut Cx, module_id: LiveModuleId, id: LiveId )