[−][src]Struct dces::system::SystemStoreBuilder
The system store builder is used to create a system.
Fields
entity_system_id: u32Id of the entity system.
system_store: &'a mut SystemStore<E, C>Reference to the system store, used to apply filter, sort and priority to the system.
priority: Cell<i32>Methods
impl<'a, E, C> SystemStoreBuilder<'a, E, C> 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> !Send for SystemStoreBuilder<'a, E, C>
impl<'a, E, C> !Sync for SystemStoreBuilder<'a, E, C>
impl<'a, E, C> Unpin for SystemStoreBuilder<'a, E, C>
impl<'a, E, C> !UnwindSafe for SystemStoreBuilder<'a, E, C>
impl<'a, E, C> !RefUnwindSafe for SystemStoreBuilder<'a, E, C>
Blanket Implementations
impl<E> Component for E where
E: Any, [src]
E: Any,
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T> From<T> for T[src]
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>,
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> 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<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,