pub struct BundleInfo { /* private fields */ }
Implementations§
Source§impl BundleInfo
impl BundleInfo
Sourcepub fn components(&self) -> &[ComponentId]
pub fn components(&self) -> &[ComponentId]
Returns the ID of each component stored in this bundle.
Sourcepub fn iter_components(&self) -> impl Iterator<Item = ComponentId> + '_
pub fn iter_components(&self) -> impl Iterator<Item = ComponentId> + '_
Returns an iterator over the ID of each component stored in this bundle.
Auto Trait Implementations§
impl Freeze for BundleInfo
impl RefUnwindSafe for BundleInfo
impl Send for BundleInfo
impl Sync for BundleInfo
impl Unpin for BundleInfo
impl UnwindSafe for BundleInfo
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