pub struct HeroStores {
pub letters: Store<Letter>,
pub drops: Store<Drop>,
pub stage: Value<Stage>,
pub held: Value<Vec<Held>>,
pub environment: Value<Environment>,
pub mesh: Value<TriangleMesh<3>>,
pub camera: Value<Orbit>,
}Fields§
§letters: Store<Letter>§drops: Store<Drop>§stage: Value<Stage>§held: Value<Vec<Held>>§environment: Value<Environment>§mesh: Value<TriangleMesh<3>>§camera: Value<Orbit>Trait Implementations§
Source§impl Default for HeroStores
impl Default for HeroStores
Source§fn default() -> HeroStores
fn default() -> HeroStores
Returns the “default value” for a type. Read more
Source§impl HasStore<Drop> for HeroStores
impl HasStore<Drop> for HeroStores
Source§impl HasStore<Letter> for HeroStores
impl HasStore<Letter> for HeroStores
Source§impl Stores for HeroStores
impl Stores for HeroStores
type Snapshot = Snapshot
fn bind(&mut self, _scene: SceneId, _owner: Owner)
fn boundary(&mut self, _owner: Owner)
fn release(&mut self, _entity: Entity, _owner: Owner)
fn snapshot(&self) -> Snapshot
fn restore(&mut self, _from: &Snapshot, _scene: SceneId, _owner: Owner)
Auto Trait Implementations§
impl !Freeze for HeroStores
impl RefUnwindSafe for HeroStores
impl Send for HeroStores
impl Sync for HeroStores
impl Unpin for HeroStores
impl UnsafeUnpin for HeroStores
impl UnwindSafe for HeroStores
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
§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
§fn into_any(self: Box<T>) -> Box<dyn Any>
fn into_any(self: Box<T>) -> Box<dyn Any>
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.§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any>
Convert
Rc<Trait> (where Trait: Downcast) to Rc<Any>. Rc<Any> can then be
further downcast into Rc<ConcreteType> where ConcreteType implements Trait.§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &Any’s vtable from &Trait’s.§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait (where Trait: Downcast) to &Any. This is needed since Rust cannot
generate &mut Any’s vtable from &mut Trait’s.