Struct panoramix::elements::backend::FlexData[][src]

pub struct FlexData<Child: VirtualDom<CpEvent, CpState>, CpEvent = NoEvent, CpState = ()> {
    pub axis: Axis,
    pub child: Child,
    pub flex: FlexParams,
    pub flex_container: FlexContainerParams,
    pub _comp_state: PhantomData<CpState>,
    pub _comp_event: PhantomData<CpEvent>,
}

Fields

axis: Axischild: Childflex: FlexParamsflex_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]

Trait Implementations

impl<Child: Clone + VirtualDom<CpEvent, CpState>, CpEvent: Clone, CpState: Clone> Clone for FlexData<Child, CpEvent, CpState>[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]

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>>

Auto Trait Implementations

impl<Child, CpEvent, CpState> RefUnwindSafe for FlexData<Child, CpEvent, CpState> where
    Child: RefUnwindSafe,
    CpEvent: RefUnwindSafe,
    CpState: RefUnwindSafe

impl<Child, CpEvent, CpState> Send for FlexData<Child, CpEvent, CpState> where
    Child: Send,
    CpEvent: Send,
    CpState: Send

impl<Child, CpEvent, CpState> Sync for FlexData<Child, CpEvent, CpState> where
    Child: Sync,
    CpEvent: Sync,
    CpState: Sync

impl<Child, CpEvent, CpState> Unpin for FlexData<Child, CpEvent, CpState> where
    Child: Unpin,
    CpEvent: Unpin,
    CpState: Unpin

impl<Child, CpEvent, CpState> UnwindSafe for FlexData<Child, CpEvent, CpState> where
    Child: UnwindSafe,
    CpEvent: UnwindSafe,
    CpState: UnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> AnyEq for T where
    T: Any + PartialEq<T>, 

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T> Instrument for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> RoundFrom<T> for T

impl<T, U> RoundInto<U> for T where
    U: RoundFrom<T>, 

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.