pub struct ComponentOutput<ChildCpEvent, ChildCpState: Clone + Default + Debug + PartialEq, Child: VirtualDom<ChildCpEvent, ChildCpState>, ParentCpEvent, ParentCpState> { /* private fields */ }Trait Implementations§
Source§impl<ChildCpEvent: Clone, ChildCpState: Clone + Clone + Default + Debug + PartialEq, Child: Clone + VirtualDom<ChildCpEvent, ChildCpState>, ParentCpEvent: Clone, ParentCpState: Clone> Clone for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>
impl<ChildCpEvent: Clone, ChildCpState: Clone + Clone + Default + Debug + PartialEq, Child: Clone + VirtualDom<ChildCpEvent, ChildCpState>, ParentCpEvent: Clone, ParentCpState: Clone> Clone for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>
Source§fn clone(
&self,
) -> ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>
fn clone( &self, ) -> ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<ChildCpEvent, ChildCpState: Clone + Default + Debug + PartialEq, Child: VirtualDom<ChildCpEvent, ChildCpState>, ParentCpEvent, ParentCpState> Debug for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>
impl<ChildCpEvent, ChildCpState: Clone + Default + Debug + PartialEq, Child: VirtualDom<ChildCpEvent, ChildCpState>, ParentCpEvent, ParentCpState> Debug for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>
Source§impl<ChildCpEvent, ChildCpState: Clone + Default + Debug + PartialEq, Child, ParentCpEvent, ParentCpState> Default for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>where
Child: Default + VirtualDom<ChildCpEvent, ChildCpState>,
impl<ChildCpEvent, ChildCpState: Clone + Default + Debug + PartialEq, Child, ParentCpEvent, ParentCpState> Default for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>where
Child: Default + VirtualDom<ChildCpEvent, ChildCpState>,
Source§impl<ChildCpEvent: Hash, ChildCpState: Hash + Clone + Default + Debug + PartialEq, Child: Hash + VirtualDom<ChildCpEvent, ChildCpState>, ParentCpEvent: Hash, ParentCpState: Hash> Hash for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>
impl<ChildCpEvent: Hash, ChildCpState: Hash + Clone + Default + Debug + PartialEq, Child: Hash + VirtualDom<ChildCpEvent, ChildCpState>, ParentCpEvent: Hash, ParentCpState: Hash> Hash for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>
Source§impl<ChildCpEvent: PartialEq, ChildCpState: PartialEq + Clone + Default + Debug + PartialEq, Child: PartialEq + VirtualDom<ChildCpEvent, ChildCpState>, ParentCpEvent: PartialEq, ParentCpState: PartialEq> PartialEq for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>
impl<ChildCpEvent: PartialEq, ChildCpState: PartialEq + Clone + Default + Debug + PartialEq, Child: PartialEq + VirtualDom<ChildCpEvent, ChildCpState>, ParentCpEvent: PartialEq, ParentCpState: PartialEq> PartialEq for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>
Source§fn eq(
&self,
other: &ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>,
) -> bool
fn eq( &self, other: &ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>, ) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl<ChildCpEvent, ChildCpState: Clone + Default + Debug + PartialEq, Child: VirtualDom<ChildCpEvent, ChildCpState>, ParentCpEvent, ParentCpState> VirtualDom<ParentCpEvent, ParentCpState> for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>
impl<ChildCpEvent, ChildCpState: Clone + Default + Debug + PartialEq, Child: VirtualDom<ChildCpEvent, ChildCpState>, ParentCpEvent, ParentCpState> VirtualDom<ParentCpEvent, ParentCpState> for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>
type Event = ChildCpEvent
type AggregateChildrenState = (ChildCpState, <Child as VirtualDom<ChildCpEvent, ChildCpState>>::AggregateChildrenState)
type TargetWidgetSeq = <Child as VirtualDom<ChildCpEvent, ChildCpState>>::TargetWidgetSeq
fn init_tree(&self) -> Child::TargetWidgetSeq
fn reconcile( &self, other: &Self, widget_seq: &mut Child::TargetWidgetSeq, ctx: &mut ReconcileCtx<'_, '_, '_, '_, '_>, )
fn process_local_event( &self, _component_state: &mut ParentCpState, children_state: &mut Self::AggregateChildrenState, widget_seq: &mut Child::TargetWidgetSeq, cx: &mut GlobalEventCx<'_>, ) -> Option<Self::Event>
fn update_value(&mut self, other: Self)where
Self: Sized,
fn process_event( &self, component_state: &mut CpState, children_state: &mut Self::AggregateChildrenState, widget_seq: &mut Self::TargetWidgetSeq, cx: &mut GlobalEventCx<'_>, ) -> Option<CpEvent>
impl<ChildCpEvent: Eq, ChildCpState: Eq + Clone + Default + Debug + PartialEq, Child: Eq + VirtualDom<ChildCpEvent, ChildCpState>, ParentCpEvent: Eq, ParentCpState: Eq> Eq for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>
impl<ChildCpEvent, ChildCpState: Clone + Default + Debug + PartialEq, Child: VirtualDom<ChildCpEvent, ChildCpState>, ParentCpEvent, ParentCpState> StructuralPartialEq for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>
Auto Trait Implementations§
impl<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState> Freeze for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>where
Child: Freeze,
impl<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState> RefUnwindSafe for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>where
Child: RefUnwindSafe,
ParentCpEvent: RefUnwindSafe,
ParentCpState: RefUnwindSafe,
ChildCpEvent: RefUnwindSafe,
ChildCpState: RefUnwindSafe,
impl<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState> Send for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>
impl<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState> Sync for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>
impl<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState> Unpin for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>
impl<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState> UnwindSafe for ComponentOutput<ChildCpEvent, ChildCpState, Child, ParentCpEvent, ParentCpState>where
Child: UnwindSafe,
ParentCpEvent: UnwindSafe,
ParentCpState: UnwindSafe,
ChildCpEvent: UnwindSafe,
ChildCpState: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit)Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more