pub struct Playground {Show 26 fields
pub slots: Store<Slot>,
pub walls: Store<Wall>,
pub toys: Store<Toy>,
pub hidden: Store<HiddenSlot>,
pub mode: Value<Mode>,
pub spin: Value<Spin>,
pub active: Value<usize>,
pub slice: Value<f32>,
pub projection: Value<Family>,
pub gimbal: Value<bool>,
pub hud: Value<bool>,
pub color: Value<ColorMode>,
pub strip: Value<Strip>,
pub environment: Value<Environment>,
pub display: Value<Display>,
pub time: Value<f32>,
pub angles: Value<[f32; 6]>,
pub controls: Value<bool>,
pub formula: Value<bool>,
pub labels: Value<bool>,
pub guides: Value<bool>,
pub toybox_debug: Value<bool>,
pub rope: Value<bool>,
pub camera: Value<Camera>,
pub control: Value<Control>,
pub catalog: Value<Catalog>,
}Fields§
§slots: Store<Slot>§walls: Store<Wall>§toys: Store<Toy>§mode: Value<Mode>§spin: Value<Spin>§active: Value<usize>§slice: Value<f32>§projection: Value<Family>§gimbal: Value<bool>§hud: Value<bool>§color: Value<ColorMode>§strip: Value<Strip>§environment: Value<Environment>§display: Value<Display>§time: Value<f32>§angles: Value<[f32; 6]>§controls: Value<bool>§formula: Value<bool>§labels: Value<bool>§guides: Value<bool>§toybox_debug: Value<bool>§rope: Value<bool>§camera: Value<Camera>§control: Value<Control>§catalog: Value<Catalog>Trait Implementations§
Source§impl AppCommand<Playground> for Action
impl AppCommand<Playground> for Action
Source§impl Default for Playground
impl Default for Playground
Source§fn default() -> Playground
fn default() -> Playground
Returns the “default value” for a type. Read more
Source§impl HasStore<HiddenSlot> for Playground
impl HasStore<HiddenSlot> for Playground
fn store(&self) -> &Store<HiddenSlot>
fn store_mut(&mut self) -> &mut Store<HiddenSlot>
Source§impl HasStore<Slot> for Playground
impl HasStore<Slot> for Playground
Source§impl HasStore<Toy> for Playground
impl HasStore<Toy> for Playground
Source§impl HasStore<Wall> for Playground
impl HasStore<Wall> for Playground
Source§impl Stores for Playground
impl Stores for Playground
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 Playground
impl RefUnwindSafe for Playground
impl Send for Playground
impl Sync for Playground
impl Unpin for Playground
impl UnsafeUnpin for Playground
impl UnwindSafe for Playground
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.