Trait EntityWriter
Source pub trait EntityWriter {
// Required methods
fn set(self, entity: &mut Option<Entity>);
fn push(self, destination: &mut Vec<Entity>);
}
Expand description
Adds a helper method to Entity
that allows it to be sent to an Option
ergonomically.
Copies this entity into an Option.
Pushes a copy of this Entity into a Vec.