pub struct ReconcileOutputChild {
pub id: ElementId,
pub reused: bool,
}Expand description
Reused direct-child identity returned by reconcile_children.
The current algorithm only returns Some records with reused == true;
creation is represented by a None slot.
§Examples
use ailloli_ui_core::ElementId;
use ailloli_ui_runtime::element::ReconcileOutputChild;
let child = ReconcileOutputChild { id: ElementId(3), reused: true };
assert!(child.reused);Fields§
§id: ElementIdExisting retained element ID selected for this new slot.
reused: boolAlways true for current Some outputs.
Trait Implementations§
Source§impl Clone for ReconcileOutputChild
impl Clone for ReconcileOutputChild
Source§fn clone(&self) -> ReconcileOutputChild
fn clone(&self) -> ReconcileOutputChild
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 ReconcileOutputChild
impl RefUnwindSafe for ReconcileOutputChild
impl Send for ReconcileOutputChild
impl Sync for ReconcileOutputChild
impl Unpin for ReconcileOutputChild
impl UnwindSafe for ReconcileOutputChild
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.