pub struct BundleOnce<T: Component>(pub T);Tuple Fields§
§0: TTrait Implementations§
Source§impl<T: Component> Bundle for BundleOnce<T>
impl<T: Component> Bundle for BundleOnce<T>
fn initialize_into(self, access: &ArchetypeEntityRowAccess<'_>)
Source§impl<T: Component> BundleColumns for BundleOnce<T>
impl<T: Component> BundleColumns for BundleOnce<T>
fn columns_static() -> Vec<ArchetypeColumnInfo>
fn columns(&self) -> Vec<ArchetypeColumnInfo>
Auto Trait Implementations§
impl<T> Freeze for BundleOnce<T>where
T: Freeze,
impl<T> RefUnwindSafe for BundleOnce<T>where
T: RefUnwindSafe,
impl<T> Send for BundleOnce<T>
impl<T> Sync for BundleOnce<T>
impl<T> Unpin for BundleOnce<T>where
T: Unpin,
impl<T> UnwindSafe for BundleOnce<T>where
T: 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