pub struct QuickPlugin<Tag: Send + Sync> { /* private fields */ }
Implementations§
Source§impl<Tag: Send + Sync> QuickPlugin<Tag>
impl<Tag: Send + Sync> QuickPlugin<Tag>
pub fn entity(self, bundle: impl Bundle + Send + Sync + 'static) -> Self
pub fn entity_relation<const LOCKING: bool, R: Component, E: Component + PartialEq>( self, from: E, payload: R, to: E, ) -> Self
pub fn system( self, system: impl System, locals: impl Bundle + Send + Sync + 'static, ) -> Self
pub fn system_meta(self, locals: impl Bundle + Send + Sync + 'static) -> Self
pub fn system_relation<const LOCKING: bool, R: Component, E: Component + PartialEq>( self, from: E, payload: R, to: E, ) -> Self
pub fn resource<T: Component>(self, resource: T) -> Self
Trait Implementations§
Auto Trait Implementations§
impl<Tag> Freeze for QuickPlugin<Tag>
impl<Tag> !RefUnwindSafe for QuickPlugin<Tag>
impl<Tag> Send for QuickPlugin<Tag>
impl<Tag> Sync for QuickPlugin<Tag>
impl<Tag> Unpin for QuickPlugin<Tag>
impl<Tag> !UnwindSafe for QuickPlugin<Tag>
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