Struct SystemBond

Source
pub struct SystemBond<S>(/* private fields */);
Expand description

A internal type for support flexible APIs.

Trait Implementations§

Source§

impl<S: Debug> Debug for SystemBond<S>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more
Source§

impl<F, EW> From<F> for SystemBond<FnSystem<(Ph, Ph, Ph, Ph, EW), F>>
where F: FnMut(EntWrite<'_, EW>), EW: EntQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F> From<F> for SystemBond<FnSystem<(Ph, Ph, Ph, Ph, Ph), F>>
where F: FnMut(),

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, RW, EW> From<F> for SystemBond<FnSystem<(Ph, Ph, Ph, RW, EW), F>>
where F: FnMut(ResWrite<'_, RW>, EntWrite<'_, EW>), RW: ResQueryMut, EW: EntQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, RW> From<F> for SystemBond<FnSystem<(Ph, Ph, Ph, RW, Ph), F>>
where F: FnMut(ResWrite<'_, RW>), RW: ResQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, RR, EW> From<F> for SystemBond<FnSystem<(Ph, Ph, RR, Ph, EW), F>>
where F: FnMut(ResRead<'_, RR>, EntWrite<'_, EW>), RR: ResQuery, EW: EntQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, RR> From<F> for SystemBond<FnSystem<(Ph, Ph, RR, Ph, Ph), F>>
where F: FnMut(ResRead<'_, RR>), RR: ResQuery,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, RR, RW, EW> From<F> for SystemBond<FnSystem<(Ph, Ph, RR, RW, EW), F>>
where F: FnMut(ResRead<'_, RR>, ResWrite<'_, RW>, EntWrite<'_, EW>), RR: ResQuery, RW: ResQueryMut, EW: EntQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, RR, RW> From<F> for SystemBond<FnSystem<(Ph, Ph, RR, RW, Ph), F>>
where F: FnMut(ResRead<'_, RR>, ResWrite<'_, RW>), RR: ResQuery, RW: ResQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, W, EW> From<F> for SystemBond<FnSystem<(Ph, W, Ph, Ph, EW), F>>
where F: FnMut(Write<'_, W>, EntWrite<'_, EW>), W: QueryMut, EW: EntQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, W> From<F> for SystemBond<FnSystem<(Ph, W, Ph, Ph, Ph), F>>
where F: FnMut(Write<'_, W>), W: QueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, W, RW, EW> From<F> for SystemBond<FnSystem<(Ph, W, Ph, RW, EW), F>>
where F: FnMut(Write<'_, W>, ResWrite<'_, RW>, EntWrite<'_, EW>), W: QueryMut, RW: ResQueryMut, EW: EntQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, W, RW> From<F> for SystemBond<FnSystem<(Ph, W, Ph, RW, Ph), F>>
where F: FnMut(Write<'_, W>, ResWrite<'_, RW>), W: QueryMut, RW: ResQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, W, RR, EW> From<F> for SystemBond<FnSystem<(Ph, W, RR, Ph, EW), F>>
where F: FnMut(Write<'_, W>, ResRead<'_, RR>, EntWrite<'_, EW>), W: QueryMut, RR: ResQuery, EW: EntQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, W, RR> From<F> for SystemBond<FnSystem<(Ph, W, RR, Ph, Ph), F>>
where F: FnMut(Write<'_, W>, ResRead<'_, RR>), W: QueryMut, RR: ResQuery,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, W, RR, RW, EW> From<F> for SystemBond<FnSystem<(Ph, W, RR, RW, EW), F>>
where F: FnMut(Write<'_, W>, ResRead<'_, RR>, ResWrite<'_, RW>, EntWrite<'_, EW>), W: QueryMut, RR: ResQuery, RW: ResQueryMut, EW: EntQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, W, RR, RW> From<F> for SystemBond<FnSystem<(Ph, W, RR, RW, Ph), F>>
where F: FnMut(Write<'_, W>, ResRead<'_, RR>, ResWrite<'_, RW>), W: QueryMut, RR: ResQuery, RW: ResQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, R, EW> From<F> for SystemBond<FnSystem<(R, Ph, Ph, Ph, EW), F>>
where F: FnMut(Read<'_, R>, EntWrite<'_, EW>), R: Query, EW: EntQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, R> From<F> for SystemBond<FnSystem<(R, Ph, Ph, Ph, Ph), F>>
where F: FnMut(Read<'_, R>), R: Query,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, R, RW, EW> From<F> for SystemBond<FnSystem<(R, Ph, Ph, RW, EW), F>>
where F: FnMut(Read<'_, R>, ResWrite<'_, RW>, EntWrite<'_, EW>), R: Query, RW: ResQueryMut, EW: EntQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, R, RW> From<F> for SystemBond<FnSystem<(R, Ph, Ph, RW, Ph), F>>
where F: FnMut(Read<'_, R>, ResWrite<'_, RW>), R: Query, RW: ResQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, R, RR, EW> From<F> for SystemBond<FnSystem<(R, Ph, RR, Ph, EW), F>>
where F: FnMut(Read<'_, R>, ResRead<'_, RR>, EntWrite<'_, EW>), R: Query, RR: ResQuery, EW: EntQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, R, RR> From<F> for SystemBond<FnSystem<(R, Ph, RR, Ph, Ph), F>>
where F: FnMut(Read<'_, R>, ResRead<'_, RR>), R: Query, RR: ResQuery,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, R, RR, RW, EW> From<F> for SystemBond<FnSystem<(R, Ph, RR, RW, EW), F>>
where F: FnMut(Read<'_, R>, ResRead<'_, RR>, ResWrite<'_, RW>, EntWrite<'_, EW>), R: Query, RR: ResQuery, RW: ResQueryMut, EW: EntQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, R, RR, RW> From<F> for SystemBond<FnSystem<(R, Ph, RR, RW, Ph), F>>
where F: FnMut(Read<'_, R>, ResRead<'_, RR>, ResWrite<'_, RW>), R: Query, RR: ResQuery, RW: ResQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, R, W, EW> From<F> for SystemBond<FnSystem<(R, W, Ph, Ph, EW), F>>
where F: FnMut(Read<'_, R>, Write<'_, W>, EntWrite<'_, EW>), R: Query, W: QueryMut, EW: EntQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, R, W> From<F> for SystemBond<FnSystem<(R, W, Ph, Ph, Ph), F>>
where F: FnMut(Read<'_, R>, Write<'_, W>), R: Query, W: QueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, R, W, RW, EW> From<F> for SystemBond<FnSystem<(R, W, Ph, RW, EW), F>>
where F: FnMut(Read<'_, R>, Write<'_, W>, ResWrite<'_, RW>, EntWrite<'_, EW>), R: Query, W: QueryMut, RW: ResQueryMut, EW: EntQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, R, W, RW> From<F> for SystemBond<FnSystem<(R, W, Ph, RW, Ph), F>>
where F: FnMut(Read<'_, R>, Write<'_, W>, ResWrite<'_, RW>), R: Query, W: QueryMut, RW: ResQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, R, W, RR, EW> From<F> for SystemBond<FnSystem<(R, W, RR, Ph, EW), F>>
where F: FnMut(Read<'_, R>, Write<'_, W>, ResRead<'_, RR>, EntWrite<'_, EW>), R: Query, W: QueryMut, RR: ResQuery, EW: EntQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, R, W, RR> From<F> for SystemBond<FnSystem<(R, W, RR, Ph, Ph), F>>
where F: FnMut(Read<'_, R>, Write<'_, W>, ResRead<'_, RR>), R: Query, W: QueryMut, RR: ResQuery,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, R, W, RR, RW, EW> From<F> for SystemBond<FnSystem<(R, W, RR, RW, EW), F>>
where F: FnMut(Read<'_, R>, Write<'_, W>, ResRead<'_, RR>, ResWrite<'_, RW>, EntWrite<'_, EW>), R: Query, W: QueryMut, RR: ResQuery, RW: ResQueryMut, EW: EntQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<F, R, W, RR, RW> From<F> for SystemBond<FnSystem<(R, W, RR, RW, Ph), F>>
where F: FnMut(Read<'_, R>, Write<'_, W>, ResRead<'_, RR>, ResWrite<'_, RW>), R: Query, W: QueryMut, RR: ResQuery, RW: ResQueryMut,

Source§

fn from(value: F) -> Self

Converts to this type from the input type.
Source§

impl<S: System> From<S> for SystemBond<S>

Source§

fn from(value: S) -> Self

Converts to this type from the input type.

Auto Trait Implementations§

§

impl<S> Freeze for SystemBond<S>
where S: Freeze,

§

impl<S> RefUnwindSafe for SystemBond<S>
where S: RefUnwindSafe,

§

impl<S> Send for SystemBond<S>
where S: Send,

§

impl<S> Sync for SystemBond<S>
where S: Sync,

§

impl<S> Unpin for SystemBond<S>
where S: Unpin,

§

impl<S> UnwindSafe for SystemBond<S>
where S: UnwindSafe,

Blanket Implementations§

Source§

impl<T> Any for T
where T: 'static + ?Sized,

Source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
Source§

impl<T> Borrow<T> for T
where T: ?Sized,

Source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
Source§

impl<T> BorrowMut<T> for T
where T: ?Sized,

Source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
Source§

impl<T> From<T> for T

Source§

fn from(t: T) -> T

Returns the argument unchanged.

Source§

impl<T, U> Into<U> for T
where U: From<T>,

Source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

Source§

impl<T> IntoEither for T

Source§

fn into_either(self, into_left: bool) -> Either<Self, Self>

Converts self into a Left variant of Either<Self, Self> if into_left is true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
where F: FnOnce(&Self) -> bool,

Converts self into a Left variant of Either<Self, Self> if into_left(&self) returns true. Converts self into a Right variant of Either<Self, Self> otherwise. Read more
Source§

impl<T> Pointable for T

Source§

const ALIGN: usize

The alignment of pointer.
Source§

type Init = T

The type for initializers.
Source§

unsafe fn init(init: <T as Pointable>::Init) -> usize

Initializes a with the given initializer. Read more
Source§

unsafe fn deref<'a>(ptr: usize) -> &'a T

Dereferences the given pointer. Read more
Source§

unsafe fn deref_mut<'a>(ptr: usize) -> &'a mut T

Mutably dereferences the given pointer. Read more
Source§

unsafe fn drop(ptr: usize)

Drops the object pointed to by the given pointer. Read more
Source§

impl<T, U> TryFrom<U> for T
where U: Into<T>,

Source§

type Error = Infallible

The type returned in the event of a conversion error.
Source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
Source§

impl<T, U> TryInto<U> for T
where U: TryFrom<T>,

Source§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
Source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.