pub struct KeyedBox<H, K, F> { /* private fields */ }Expand description
A keyed identity wrapper that keeps the original cx.keyed(...) callsite stable across
builder-first / late-landing authoring paths.
Implementations§
Source§impl<H: UiHost, K: Hash, F, T> KeyedBox<H, K, F>
impl<H: UiHost, K: Hash, F, T> KeyedBox<H, K, F>
pub fn into_element(self, cx: &mut ElementContext<'_, H>) -> AnyElement
Trait Implementations§
Source§impl<H: UiHost, K: Hash, F, T> IntoUiElement<H> for KeyedBox<H, K, F>
impl<H: UiHost, K: Hash, F, T> IntoUiElement<H> for KeyedBox<H, K, F>
fn into_element(self, cx: &mut ElementContext<'_, H>) -> AnyElement
Source§impl<H, K, F> UiPatchTarget for KeyedBox<H, K, F>
impl<H, K, F> UiPatchTarget for KeyedBox<H, K, 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
Auto Trait Implementations§
impl<H, K, F> Freeze for KeyedBox<H, K, F>
impl<H, K, F> RefUnwindSafe for KeyedBox<H, K, F>where
K: RefUnwindSafe,
F: RefUnwindSafe,
impl<H, K, F> Send for KeyedBox<H, K, F>
impl<H, K, F> Sync for KeyedBox<H, K, F>
impl<H, K, F> Unpin for KeyedBox<H, K, F>
impl<H, K, F> UnsafeUnpin for KeyedBox<H, K, F>where
K: UnsafeUnpin,
F: UnsafeUnpin,
impl<H, K, F> UnwindSafe for KeyedBox<H, K, F>where
K: UnwindSafe,
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