pub struct ContainerPropsBox<H, F> { /* private fields */ }Expand description
A raw-container variant that preserves caller-provided ContainerProps while still allowing
builder-first child authoring to land at the last possible moment.
Implementations§
Source§impl<H, F> ContainerPropsBox<H, F>
impl<H, F> ContainerPropsBox<H, F>
pub fn new(props: ContainerProps, children: F) -> Self
Source§impl<H: UiHost, F, I> ContainerPropsBox<H, F>
impl<H: UiHost, F, I> ContainerPropsBox<H, F>
pub fn into_element(self, cx: &mut ElementContext<'_, H>) -> AnyElement
Trait Implementations§
Source§impl<H: Clone, F: Clone> Clone for ContainerPropsBox<H, F>
impl<H: Clone, F: Clone> Clone for ContainerPropsBox<H, F>
Source§fn clone(&self) -> ContainerPropsBox<H, F>
fn clone(&self) -> ContainerPropsBox<H, F>
Returns a duplicate 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<H: UiHost, F, I> IntoUiElement<H> for ContainerPropsBox<H, F>
impl<H: UiHost, F, I> IntoUiElement<H> for ContainerPropsBox<H, F>
fn into_element(self, cx: &mut ElementContext<'_, H>) -> AnyElement
Auto Trait Implementations§
impl<H, F> Freeze for ContainerPropsBox<H, F>where
F: Freeze,
impl<H, F> RefUnwindSafe for ContainerPropsBox<H, F>where
F: RefUnwindSafe,
impl<H, F> Send for ContainerPropsBox<H, F>where
F: Send,
impl<H, F> Sync for ContainerPropsBox<H, F>where
F: Sync,
impl<H, F> Unpin for ContainerPropsBox<H, F>where
F: Unpin,
impl<H, F> UnsafeUnpin for ContainerPropsBox<H, F>where
F: UnsafeUnpin,
impl<H, F> UnwindSafe for ContainerPropsBox<H, F>where
F: 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