Struct bevy_ecs::storage::Column [−][src]
pub struct Column { /* fields omitted */ }
Implementations
Writes component data to the column at given row.
Assumes the slot is uninitialized, drop is not called.
To overwrite existing initialized value, use replace
instead.
Safety
Assumes data has already been allocated for the given row.
Writes component data to the column at given row. Assumes the slot is initialized, calls drop.
Safety
Assumes data has already been allocated for the given row.
Safety
Assumes data has already been allocated for the given row.
Safety
index must be in-bounds
Safety
must ensure rust mutability rules are not violated
Safety
- index must be in-bounds
- no other reference to the data of the same row can exist at the same time
- pointer cannot be dereferenced after mutable reference to this
Column
was live
Safety
index must be in-bounds
Safety
- index must be in-bounds
- no other reference to the ticks of the same row can exist at the same time
- pointer cannot be dereferenced after mutable reference to this column was live
Auto Trait Implementations
impl !RefUnwindSafe for Column
impl UnwindSafe for Column
Blanket Implementations
Mutably borrows from an owned value. Read more
Convert Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read more
Convert &Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read more
Convert &mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more
Attaches the provided Subscriber
to this type, returning a
WithDispatch
wrapper. Read more
Attaches the current default Subscriber
to this type, returning a
WithDispatch
wrapper. Read more