Struct rin::ecs::SystemBuilder [−][src]
#[must_use = "Systems built with a Builder won't be created until the build method is called"]pub struct SystemBuilder<'a, 'n, S> { /* fields omitted */ }
Implementations
impl<'a, 'n, S> Builder<'a, 'n, S> where
S: 'static + System,
[src]
impl<'a, 'n, S> Builder<'a, 'n, S> where
S: 'static + System,
[src]pub fn name(self, name: &'n str) -> Builder<'a, 'n, S>
[src]
pub fn conditions(
self,
conditions: SystemCondition
) -> BuilderConditions<'a, 'n, S>
[src]
self,
conditions: SystemCondition
) -> BuilderConditions<'a, 'n, S>
pub fn needs<T>(self) -> Builder<'a, 'n, S> where
T: 'static,
[src]
T: 'static,
pub fn updates<T>(self) -> Builder<'a, 'n, S> where
T: 'static,
[src]
T: 'static,
pub fn reads<T>(self) -> Builder<'a, 'n, S> where
T: 'static,
[src]
T: 'static,
pub fn writes<T>(self) -> Builder<'a, 'n, S> where
T: 'static,
[src]
T: 'static,
pub fn dependencies_from<S2>(self) -> Builder<'a, 'n, S> where
S2: System,
[src]
S2: System,
pub fn build(self) -> &'a mut World
[src]
Auto Trait Implementations
impl<'a, 'n, S> !RefUnwindSafe for Builder<'a, 'n, S>
impl<'a, 'n, S> !Send for Builder<'a, 'n, S>
impl<'a, 'n, S> !Sync for Builder<'a, 'n, S>
impl<'a, 'n, S> Unpin for Builder<'a, 'n, S> where
S: Unpin,
S: Unpin,
impl<'a, 'n, S> !UnwindSafe for Builder<'a, 'n, S>
Blanket Implementations
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]