[−][src]Struct dces::system::SystemStoreBuilder
The system store builder is used to create a system.
Fields
entity_system_id: u32
Id of the entity system.
system_store: &'a mut SystemStore<E, C, Ctx>
Reference to the system store, used to apply filter, sort and priority to the system.
priority: Cell<i32>
Implementations
impl<'a, E, C, Ctx> SystemStoreBuilder<'a, E, C, Ctx> where
E: EntityStore,
C: ComponentStore,
[src]
E: EntityStore,
C: ComponentStore,
pub fn with_priority(self, priority: Priority) -> Self
[src]
Add a priority
to the system. Default priority is 0.
pub fn build(self) -> u32
[src]
Finishing the creation of the system.
Auto Trait Implementations
impl<'a, E, C, Ctx> !RefUnwindSafe for SystemStoreBuilder<'a, E, C, Ctx>
impl<'a, E, C, Ctx> !Send for SystemStoreBuilder<'a, E, C, Ctx>
impl<'a, E, C, Ctx> !Sync for SystemStoreBuilder<'a, E, C, Ctx>
impl<'a, E, C, Ctx> Unpin for SystemStoreBuilder<'a, E, C, Ctx>
impl<'a, E, C, Ctx> !UnwindSafe for SystemStoreBuilder<'a, E, C, Ctx>
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<E> Component for E where
E: Any,
[src]
E: Any,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> 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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,