Struct panoramix::elements::Flex [−][src]
Fields
axis: Axis
child: Child
flex: FlexParams
flex_container: FlexContainerParams
_comp_state: PhantomData<CpState>
_comp_event: PhantomData<CpEvent>
Implementations
impl<CpEvent, CpState, Child: Element<CpEvent, CpState>> Flex<Child, CpEvent, CpState>
[src]
pub fn new(axis: Axis, child: Child) -> Self
[src]
pub fn with_flex_params(self, flex_params: FlexParams) -> Self
[src]
pub fn with_flex_container_params(
self,
flex_container: FlexContainerParams
) -> Self
[src]
self,
flex_container: FlexContainerParams
) -> Self
Trait Implementations
impl<Child: Clone + Element<CpEvent, CpState>, CpEvent: Clone, CpState: Clone> Clone for Flex<Child, CpEvent, CpState>
[src]
fn clone(&self) -> Flex<Child, CpEvent, CpState>
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<Child: Element<CpEvent, CpState>, CpEvent, CpState> Debug for Flex<Child, CpEvent, CpState>
[src]
impl<CpEvent, CpState, Child: Element<CpEvent, CpState>> Element<CpEvent, CpState> for Flex<Child, CpEvent, CpState>
[src]
type Event = NoEvent
The type of events this element can raise. Read more
type AggregateChildrenState = Child::AggregateChildrenState
type BuildOutput = FlexData<Child::BuildOutput, CpEvent, CpState>
fn build(
self,
prev_state: Self::AggregateChildrenState
) -> (Self::BuildOutput, Self::AggregateChildrenState)
[src]
self,
prev_state: Self::AggregateChildrenState
) -> (Self::BuildOutput, Self::AggregateChildrenState)
impl<Child: PartialEq + Element<CpEvent, CpState>, CpEvent: PartialEq, CpState: PartialEq> PartialEq<Flex<Child, CpEvent, CpState>> for Flex<Child, CpEvent, CpState>
[src]
fn eq(&self, other: &Flex<Child, CpEvent, CpState>) -> bool
[src]
fn ne(&self, other: &Flex<Child, CpEvent, CpState>) -> bool
[src]
impl<Child: Element<CpEvent, CpState>, CpEvent, CpState> StructuralPartialEq for Flex<Child, CpEvent, CpState>
[src]
Auto Trait Implementations
impl<Child, CpEvent, CpState> RefUnwindSafe for Flex<Child, CpEvent, CpState> where
Child: RefUnwindSafe,
CpEvent: RefUnwindSafe,
CpState: RefUnwindSafe,
Child: RefUnwindSafe,
CpEvent: RefUnwindSafe,
CpState: RefUnwindSafe,
impl<Child, CpEvent, CpState> Send for Flex<Child, CpEvent, CpState> where
Child: Send,
CpEvent: Send,
CpState: Send,
Child: Send,
CpEvent: Send,
CpState: Send,
impl<Child, CpEvent, CpState> Sync for Flex<Child, CpEvent, CpState> where
Child: Sync,
CpEvent: Sync,
CpState: Sync,
Child: Sync,
CpEvent: Sync,
CpState: Sync,
impl<Child, CpEvent, CpState> Unpin for Flex<Child, CpEvent, CpState> where
Child: Unpin,
CpEvent: Unpin,
CpState: Unpin,
Child: Unpin,
CpEvent: Unpin,
CpState: Unpin,
impl<Child, CpEvent, CpState> UnwindSafe for Flex<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>,