pub struct ContainerBox<H, F> { /* private fields */ }Expand description
A patchable container constructor for authoring ergonomics.
This is intended to be the default “box” layout node in the fluent authoring surface.
Implementations§
Source§impl<H, F> ContainerBox<H, F>
impl<H, F> ContainerBox<H, F>
Source§impl<H: UiHost, F, I> ContainerBox<H, F>
impl<H: UiHost, F, I> ContainerBox<H, F>
pub fn into_element(self, cx: &mut ElementContext<'_, H>) -> AnyElement
Trait Implementations§
Source§impl<H: Clone, F: Clone> Clone for ContainerBox<H, F>
impl<H: Clone, F: Clone> Clone for ContainerBox<H, F>
Source§fn clone(&self) -> ContainerBox<H, F>
fn clone(&self) -> ContainerBox<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 ContainerBox<H, F>
impl<H: UiHost, F, I> IntoUiElement<H> for ContainerBox<H, F>
fn into_element(self, cx: &mut ElementContext<'_, H>) -> AnyElement
Source§impl<H, F> UiPatchTarget for ContainerBox<H, F>
impl<H, F> UiPatchTarget for ContainerBox<H, F>
Source§fn apply_ui_patch(self, patch: UiPatch) -> Self
fn apply_ui_patch(self, patch: UiPatch) -> Self
Applies an aggregated authoring patch (chrome + layout) and returns the refined value. Read more
impl<H, F> UiSupportsChrome for ContainerBox<H, F>
impl<H, F> UiSupportsLayout for ContainerBox<H, F>
Auto Trait Implementations§
impl<H, F> Freeze for ContainerBox<H, F>where
F: Freeze,
impl<H, F> RefUnwindSafe for ContainerBox<H, F>where
F: RefUnwindSafe,
impl<H, F> Send for ContainerBox<H, F>where
F: Send,
impl<H, F> Sync for ContainerBox<H, F>where
F: Sync,
impl<H, F> Unpin for ContainerBox<H, F>where
F: Unpin,
impl<H, F> UnsafeUnpin for ContainerBox<H, F>where
F: UnsafeUnpin,
impl<H, F> UnwindSafe for ContainerBox<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