pub struct EntityCreateMaterialization<E> { /* private fields */ }Expand description
EntityCreateMaterialization
Materialized authored create payload produced by one generated create input. Carries both the fully-typed entity after-image and the authored field-slot list so save preflight can still distinguish omission from authorship.
Implementations§
Source§impl<E> EntityCreateMaterialization<E>
impl<E> EntityCreateMaterialization<E>
Sourcepub const fn new(
entity: E,
authored_slots: Vec<usize>,
) -> EntityCreateMaterialization<E>
pub const fn new( entity: E, authored_slots: Vec<usize>, ) -> EntityCreateMaterialization<E>
Build one materialized typed create payload.
Sourcepub fn into_entity(self) -> E
pub fn into_entity(self) -> E
Consume and return the typed entity after-image.
Borrow the authored field slots carried by this insert payload.
Auto Trait Implementations§
impl<E> Freeze for EntityCreateMaterialization<E>where
E: Freeze,
impl<E> RefUnwindSafe for EntityCreateMaterialization<E>where
E: RefUnwindSafe,
impl<E> Send for EntityCreateMaterialization<E>where
E: Send,
impl<E> Sync for EntityCreateMaterialization<E>where
E: Sync,
impl<E> Unpin for EntityCreateMaterialization<E>where
E: Unpin,
impl<E> UnsafeUnpin for EntityCreateMaterialization<E>where
E: UnsafeUnpin,
impl<E> UnwindSafe for EntityCreateMaterialization<E>where
E: 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