pub struct ReconcileInputChild {
pub id: ElementId,
pub key: Option<Key>,
}Expand description
Existing direct-child identity supplied to reconcile_children.
§Examples
use ailloli_ui_core::ElementId;
use ailloli_ui_runtime::element::ReconcileInputChild;
let child = ReconcileInputChild { id: ElementId(3), key: None };
assert_eq!(child.id, ElementId(3));Fields§
§id: ElementIdExisting retained element ID.
key: Option<Key>Optional stable key; None permits positional reuse.
Trait Implementations§
Source§impl Clone for ReconcileInputChild
impl Clone for ReconcileInputChild
Source§fn clone(&self) -> ReconcileInputChild
fn clone(&self) -> ReconcileInputChild
Returns a copy 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 moreAuto Trait Implementations§
impl Freeze for ReconcileInputChild
impl RefUnwindSafe for ReconcileInputChild
impl Send for ReconcileInputChild
impl Sync for ReconcileInputChild
impl Unpin for ReconcileInputChild
impl UnwindSafe for ReconcileInputChild
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<A> IntoClickAction<A> for Awhere
A: Clone + 'static,
impl<A> IntoClickAction<A> for Awhere
A: Clone + 'static,
Source§fn into_click_action(self) -> ClickAction<A>
fn into_click_action(self) -> ClickAction<A>
Implements the into_click_action helper used by this module.