[−][src]Struct amethyst_editor_sync::SyncEditorBundle
Bundles all necessary systems for serializing all registered components and resources and sending them to the editor.
Methods
impl SyncEditorBundle<(), ()>[src]
pub fn new() -> SyncEditorBundle<(), ()>[src]
Construct an empty bundle.
impl<T, U> SyncEditorBundle<T, U> where
T: ComponentSet,
U: ResourceSet, [src]
T: ComponentSet,
U: ResourceSet,
pub fn sync_component<C>(
self,
name: &'static str
) -> SyncEditorBundle<(C, T), U> where
C: Component + Serialize + Send, [src]
self,
name: &'static str
) -> SyncEditorBundle<(C, T), U> where
C: Component + Serialize + Send,
Register a component for synchronizing with the editor. This will result in a
SyncComponentSystem being added.
pub fn sync_resource<R>(self, name: &'static str) -> SyncEditorBundle<T, (R, U)> where
R: Resource + Serialize, [src]
R: Resource + Serialize,
Register a resource for synchronizing with the editor. This will result in a
SyncResourceSystem being added.
pub fn get_connection(&self) -> EditorConnection[src]
Retrieve a connection to send messages to the editor via the SyncEditorSystem.
Trait Implementations
impl<'a, 'b, T, U> SystemBundle<'a, 'b> for SyncEditorBundle<T, U> where
T: ComponentSet,
U: ResourceSet, [src]
T: ComponentSet,
U: ResourceSet,
Auto Trait Implementations
impl<T, U> Send for SyncEditorBundle<T, U> where
T: Send,
U: Send,
T: Send,
U: Send,
impl<T, U> Sync for SyncEditorBundle<T, U> where
T: Sync,
U: Sync,
T: Sync,
U: Sync,
Blanket Implementations
impl<T, U> Into for T where
U: From<T>, [src]
U: From<T>,
impl<T> From for T[src]
impl<T, U> TryFrom for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T> Borrow for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized, [src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T[src]
impl<T, U> TryInto for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>[src]
impl<T> Resource for T where
T: Any + Send + Sync,
T: Any + Send + Sync,
impl<T> Any for T where
T: Any,
T: Any,
fn get_type_id(&self) -> TypeId
impl<T> Event for T where
T: Send + Sync + 'static,
T: Send + Sync + 'static,
impl<T> Erased for T
impl<T> Downcast for T where
T: Any,
T: Any,