Struct panoramix::elements::any_element::VirtualDomBox [−][src]
Implementations
impl<CpEvent: 'static, CpState: 'static> VirtualDomBox<CpEvent, CpState>
[src]
pub fn new(child: impl VirtualDom<CpEvent, CpState> + 'static) -> Self
[src]
Trait Implementations
impl<CpEvent, CpState> Debug for VirtualDomBox<CpEvent, CpState>
[src]
impl<CpEvent, CpState> VirtualDom<CpEvent, CpState> for VirtualDomBox<CpEvent, CpState>
[src]
type Event = NoEvent
type AggregateChildrenState = Option<AnyStateBox>
type TargetWidgetSeq = WidgetSeqBox
fn init_tree(&self) -> Self::TargetWidgetSeq
[src]
fn reconcile(
&self,
other: &Self,
widget_seq: &mut Self::TargetWidgetSeq,
ctx: &mut ReconcileCtx<'_, '_, '_, '_, '_>
)
[src]
&self,
other: &Self,
widget_seq: &mut Self::TargetWidgetSeq,
ctx: &mut ReconcileCtx<'_, '_, '_, '_, '_>
)
fn process_event(
&self,
component_state: &mut CpState,
children_state: &mut Option<AnyStateBox>,
widget_seq: &mut WidgetSeqBox,
cx: &mut GlobalEventCx<'_>
) -> Option<CpEvent>
[src]
&self,
component_state: &mut CpState,
children_state: &mut Option<AnyStateBox>,
widget_seq: &mut WidgetSeqBox,
cx: &mut GlobalEventCx<'_>
) -> Option<CpEvent>
fn update_value(&mut self, other: Self) where
Self: Sized,
[src]
Self: Sized,
fn process_local_event(
&self,
component_state: &mut CpState,
children_state: &mut Self::AggregateChildrenState,
widget_seq: &mut Self::TargetWidgetSeq,
cx: &mut GlobalEventCx<'_>
) -> Option<Self::Event>
[src]
&self,
component_state: &mut CpState,
children_state: &mut Self::AggregateChildrenState,
widget_seq: &mut Self::TargetWidgetSeq,
cx: &mut GlobalEventCx<'_>
) -> Option<Self::Event>
Auto Trait Implementations
impl<CpEvent, CpState> !RefUnwindSafe for VirtualDomBox<CpEvent, CpState>
impl<CpEvent, CpState> !Send for VirtualDomBox<CpEvent, CpState>
impl<CpEvent, CpState> !Sync for VirtualDomBox<CpEvent, CpState>
impl<CpEvent, CpState> Unpin for VirtualDomBox<CpEvent, CpState> where
CpEvent: Unpin,
CpState: Unpin,
CpEvent: Unpin,
CpState: Unpin,
impl<CpEvent, CpState> !UnwindSafe for VirtualDomBox<CpEvent, CpState>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T> Instrument for T
[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>
[src]
pub fn in_current_span(self) -> Instrumented<Self>
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> RoundFrom<T> for T
pub fn round_from(x: T) -> T
impl<T, U> RoundInto<U> for T where
U: RoundFrom<T>,
U: RoundFrom<T>,
pub fn round_into(self) -> U
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,