pub struct ParamSet<'w, 's, T: SystemParam> { /* private fields */ }
Implementations§
source§impl<'w, 's, P0: SystemParam> ParamSet<'w, 's, (P0,)>
impl<'w, 's, P0: SystemParam> ParamSet<'w, 's, (P0,)>
pub fn p0<'a>(&'a mut self) -> <P0::Fetch as SystemParamFetch<'a, 'a>>::Item
source§impl<'w, 's, P0: SystemParam, P1: SystemParam> ParamSet<'w, 's, (P0, P1)>
impl<'w, 's, P0: SystemParam, P1: SystemParam> ParamSet<'w, 's, (P0, P1)>
pub fn p0<'a>(&'a mut self) -> <P0::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p1<'a>(&'a mut self) -> <P1::Fetch as SystemParamFetch<'a, 'a>>::Item
source§impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam> ParamSet<'w, 's, (P0, P1, P2)>
impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam> ParamSet<'w, 's, (P0, P1, P2)>
pub fn p0<'a>(&'a mut self) -> <P0::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p1<'a>(&'a mut self) -> <P1::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p2<'a>(&'a mut self) -> <P2::Fetch as SystemParamFetch<'a, 'a>>::Item
source§impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam> ParamSet<'w, 's, (P0, P1, P2, P3)>
impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam> ParamSet<'w, 's, (P0, P1, P2, P3)>
pub fn p0<'a>(&'a mut self) -> <P0::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p1<'a>(&'a mut self) -> <P1::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p2<'a>(&'a mut self) -> <P2::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p3<'a>(&'a mut self) -> <P3::Fetch as SystemParamFetch<'a, 'a>>::Item
source§impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam, P4: SystemParam> ParamSet<'w, 's, (P0, P1, P2, P3, P4)>
impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam, P4: SystemParam> ParamSet<'w, 's, (P0, P1, P2, P3, P4)>
pub fn p0<'a>(&'a mut self) -> <P0::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p1<'a>(&'a mut self) -> <P1::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p2<'a>(&'a mut self) -> <P2::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p3<'a>(&'a mut self) -> <P3::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p4<'a>(&'a mut self) -> <P4::Fetch as SystemParamFetch<'a, 'a>>::Item
source§impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam, P4: SystemParam, P5: SystemParam> ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5)>
impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam, P4: SystemParam, P5: SystemParam> ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5)>
pub fn p0<'a>(&'a mut self) -> <P0::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p1<'a>(&'a mut self) -> <P1::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p2<'a>(&'a mut self) -> <P2::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p3<'a>(&'a mut self) -> <P3::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p4<'a>(&'a mut self) -> <P4::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p5<'a>(&'a mut self) -> <P5::Fetch as SystemParamFetch<'a, 'a>>::Item
source§impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam, P4: SystemParam, P5: SystemParam, P6: SystemParam> ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5, P6)>
impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam, P4: SystemParam, P5: SystemParam, P6: SystemParam> ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5, P6)>
pub fn p0<'a>(&'a mut self) -> <P0::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p1<'a>(&'a mut self) -> <P1::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p2<'a>(&'a mut self) -> <P2::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p3<'a>(&'a mut self) -> <P3::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p4<'a>(&'a mut self) -> <P4::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p5<'a>(&'a mut self) -> <P5::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p6<'a>(&'a mut self) -> <P6::Fetch as SystemParamFetch<'a, 'a>>::Item
source§impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam, P4: SystemParam, P5: SystemParam, P6: SystemParam, P7: SystemParam> ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5, P6, P7)>
impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam, P4: SystemParam, P5: SystemParam, P6: SystemParam, P7: SystemParam> ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5, P6, P7)>
pub fn p0<'a>(&'a mut self) -> <P0::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p1<'a>(&'a mut self) -> <P1::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p2<'a>(&'a mut self) -> <P2::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p3<'a>(&'a mut self) -> <P3::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p4<'a>(&'a mut self) -> <P4::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p5<'a>(&'a mut self) -> <P5::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p6<'a>(&'a mut self) -> <P6::Fetch as SystemParamFetch<'a, 'a>>::Item
pub fn p7<'a>(&'a mut self) -> <P7::Fetch as SystemParamFetch<'a, 'a>>::Item
Trait Implementations§
source§impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam, P4: SystemParam, P5: SystemParam, P6: SystemParam, P7: SystemParam> SystemParam for ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5, P6, P7)>
impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam, P4: SystemParam, P5: SystemParam, P6: SystemParam, P7: SystemParam> SystemParam for ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5, P6, P7)>
type Fetch = ParamSetState<(<P0 as SystemParam>::Fetch, <P1 as SystemParam>::Fetch, <P2 as SystemParam>::Fetch, <P3 as SystemParam>::Fetch, <P4 as SystemParam>::Fetch, <P5 as SystemParam>::Fetch, <P6 as SystemParam>::Fetch, <P7 as SystemParam>::Fetch)>
source§impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam, P4: SystemParam, P5: SystemParam, P6: SystemParam> SystemParam for ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5, P6)>
impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam, P4: SystemParam, P5: SystemParam, P6: SystemParam> SystemParam for ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5, P6)>
type Fetch = ParamSetState<(<P0 as SystemParam>::Fetch, <P1 as SystemParam>::Fetch, <P2 as SystemParam>::Fetch, <P3 as SystemParam>::Fetch, <P4 as SystemParam>::Fetch, <P5 as SystemParam>::Fetch, <P6 as SystemParam>::Fetch)>
source§impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam, P4: SystemParam, P5: SystemParam> SystemParam for ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5)>
impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam, P4: SystemParam, P5: SystemParam> SystemParam for ParamSet<'w, 's, (P0, P1, P2, P3, P4, P5)>
type Fetch = ParamSetState<(<P0 as SystemParam>::Fetch, <P1 as SystemParam>::Fetch, <P2 as SystemParam>::Fetch, <P3 as SystemParam>::Fetch, <P4 as SystemParam>::Fetch, <P5 as SystemParam>::Fetch)>
source§impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam, P4: SystemParam> SystemParam for ParamSet<'w, 's, (P0, P1, P2, P3, P4)>
impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam, P4: SystemParam> SystemParam for ParamSet<'w, 's, (P0, P1, P2, P3, P4)>
type Fetch = ParamSetState<(<P0 as SystemParam>::Fetch, <P1 as SystemParam>::Fetch, <P2 as SystemParam>::Fetch, <P3 as SystemParam>::Fetch, <P4 as SystemParam>::Fetch)>
source§impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam> SystemParam for ParamSet<'w, 's, (P0, P1, P2, P3)>
impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam, P3: SystemParam> SystemParam for ParamSet<'w, 's, (P0, P1, P2, P3)>
type Fetch = ParamSetState<(<P0 as SystemParam>::Fetch, <P1 as SystemParam>::Fetch, <P2 as SystemParam>::Fetch, <P3 as SystemParam>::Fetch)>
source§impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam> SystemParam for ParamSet<'w, 's, (P0, P1, P2)>
impl<'w, 's, P0: SystemParam, P1: SystemParam, P2: SystemParam> SystemParam for ParamSet<'w, 's, (P0, P1, P2)>
type Fetch = ParamSetState<(<P0 as SystemParam>::Fetch, <P1 as SystemParam>::Fetch, <P2 as SystemParam>::Fetch)>
source§impl<'w, 's, P0: SystemParam, P1: SystemParam> SystemParam for ParamSet<'w, 's, (P0, P1)>
impl<'w, 's, P0: SystemParam, P1: SystemParam> SystemParam for ParamSet<'w, 's, (P0, P1)>
type Fetch = ParamSetState<(<P0 as SystemParam>::Fetch, <P1 as SystemParam>::Fetch)>
source§impl<'w, 's, P0: SystemParam> SystemParam for ParamSet<'w, 's, (P0,)>
impl<'w, 's, P0: SystemParam> SystemParam for ParamSet<'w, 's, (P0,)>
type Fetch = ParamSetState<(<P0 as SystemParam>::Fetch,)>
Auto Trait Implementations§
impl<'w, 's, T> !RefUnwindSafe for ParamSet<'w, 's, T>
impl<'w, 's, T> Send for ParamSet<'w, 's, T>
impl<'w, 's, T> Sync for ParamSet<'w, 's, T>
impl<'w, 's, T> Unpin for ParamSet<'w, 's, T>
impl<'w, 's, T> !UnwindSafe for ParamSet<'w, 's, T>
Blanket Implementations§
source§impl<T> Downcast for Twhere
T: Any,
impl<T> Downcast for Twhere
T: Any,
source§fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
fn into_any(self: Box<T, Global>) -> Box<dyn Any + 'static, Global>
Convert
Box<dyn Trait>
(where Trait: Downcast
) to Box<dyn Any>
. Box<dyn Any>
can
then be further downcast
into Box<ConcreteType>
where ConcreteType
implements Trait
. Read moresource§fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
Convert
Rc<Trait>
(where Trait: Downcast
) to Rc<Any>
. Rc<Any>
can then be
further downcast
into Rc<ConcreteType>
where ConcreteType
implements Trait
. Read moresource§fn as_any(&self) -> &(dyn Any + 'static)
fn as_any(&self) -> &(dyn Any + 'static)
Convert
&Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &Any
’s vtable from &Trait
’s. Read moresource§fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
Convert
&mut Trait
(where Trait: Downcast
) to &Any
. This is needed since Rust cannot
generate &mut Any
’s vtable from &mut Trait
’s. Read more