Struct panoramix::elements::backend::FlexData [−][src]
Fields
axis: Axis
child: Child
flex: FlexParams
flex_container: FlexContainerParams
_comp_state: PhantomData<CpState>
_comp_event: PhantomData<CpEvent>
Implementations
impl<CpEvent, CpState, Child: VirtualDom<CpEvent, CpState>> FlexData<Child, CpEvent, CpState>
[src]
pub fn new(
axis: Axis,
child: Child,
flex: FlexParams,
flex_container: FlexContainerParams
) -> Self
[src]
axis: Axis,
child: Child,
flex: FlexParams,
flex_container: FlexContainerParams
) -> Self
Trait Implementations
impl<Child: Clone + VirtualDom<CpEvent, CpState>, CpEvent: Clone, CpState: Clone> Clone for FlexData<Child, CpEvent, CpState>
[src]
fn clone(&self) -> FlexData<Child, CpEvent, CpState>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Child: VirtualDom<CpEvent, CpState>, CpEvent, CpState> Debug for FlexData<Child, CpEvent, CpState>
[src]
impl<Child: PartialEq + VirtualDom<CpEvent, CpState>, CpEvent: PartialEq, CpState: PartialEq> PartialEq<FlexData<Child, CpEvent, CpState>> for FlexData<Child, CpEvent, CpState>
[src]
fn eq(&self, other: &FlexData<Child, CpEvent, CpState>) -> bool
[src]
fn ne(&self, other: &FlexData<Child, CpEvent, CpState>) -> bool
[src]
impl<Child: VirtualDom<CpEvent, CpState>, CpEvent, CpState> StructuralPartialEq for FlexData<Child, CpEvent, CpState>
[src]
impl<CpEvent, CpState, Child: VirtualDom<CpEvent, CpState>> VirtualDom<CpEvent, CpState> for FlexData<Child, CpEvent, CpState>
[src]
type Event = NoEvent
type AggregateChildrenState = Child::AggregateChildrenState
type TargetWidgetSeq = SingleWidget<FlexWidget<Child::TargetWidgetSeq>>
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 Child::AggregateChildrenState,
widget_seq: &mut Self::TargetWidgetSeq,
cx: &mut GlobalEventCx<'_>
) -> Option<CpEvent>
[src]
&self,
component_state: &mut CpState,
children_state: &mut Child::AggregateChildrenState,
widget_seq: &mut Self::TargetWidgetSeq,
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<Child, CpEvent, CpState> RefUnwindSafe for FlexData<Child, CpEvent, CpState> where
Child: RefUnwindSafe,
CpEvent: RefUnwindSafe,
CpState: RefUnwindSafe,
Child: RefUnwindSafe,
CpEvent: RefUnwindSafe,
CpState: RefUnwindSafe,
impl<Child, CpEvent, CpState> Send for FlexData<Child, CpEvent, CpState> where
Child: Send,
CpEvent: Send,
CpState: Send,
Child: Send,
CpEvent: Send,
CpState: Send,
impl<Child, CpEvent, CpState> Sync for FlexData<Child, CpEvent, CpState> where
Child: Sync,
CpEvent: Sync,
CpState: Sync,
Child: Sync,
CpEvent: Sync,
CpState: Sync,
impl<Child, CpEvent, CpState> Unpin for FlexData<Child, CpEvent, CpState> where
Child: Unpin,
CpEvent: Unpin,
CpState: Unpin,
Child: Unpin,
CpEvent: Unpin,
CpState: Unpin,
impl<Child, CpEvent, CpState> UnwindSafe for FlexData<Child, CpEvent, CpState> where
Child: UnwindSafe,
CpEvent: UnwindSafe,
CpState: UnwindSafe,
Child: UnwindSafe,
CpEvent: UnwindSafe,
CpState: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> AnyEq for T where
T: Any + PartialEq<T>,
T: Any + PartialEq<T>,
pub fn equals(&self, other: &(dyn Any + 'static)) -> bool
pub fn as_any(&self) -> &(dyn Any + 'static)
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
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>,