Struct Modified

Source
pub struct Modified<T> { /* private fields */ }
Expand description

Query over modified component.

Should be used as either Modified<&T>, Modified<&mut T> or Modified<Alt<T>>.

This is tracking query that uses epoch lower bound to filter out entities with unmodified components.

Implementations§

Source§

impl<T> Modified<T>

Source

pub fn new(after_epoch: EpochId) -> Self
where T: Default,

Creates new Modified query. Uses provided after_epoch id to skip components that are last modified not after this epoch.

Source

pub fn after_epoch(&self) -> EpochId

Epoch id threshold for this query.

Trait Implementations§

Source§

impl<T> AsQuery for Modified<&T>
where T: 'static,

Source§

type Query = Modified<Read<T>>

Associated query type.
Source§

impl<T> AsQuery for Modified<&mut T>
where T: 'static,

Source§

type Query = Modified<Write<T>>

Associated query type.
Source§

impl<T> AsQuery for Modified<Alt<T>>
where T: 'static,

Source§

type Query = Modified<Alt<T>>

Associated query type.
Source§

impl<T> AsQuery for Modified<Cpy<T>>
where T: Copy + 'static,

Source§

type Query = Modified<Cpy<T>>

Associated query type.
Source§

impl<T> AsQuery for Modified<Option<&T>>
where T: 'static,

Source§

type Query = Modified<OptionQuery<Read<T>>>

Associated query type.
Source§

impl<T> AsQuery for Modified<Option<&mut T>>
where T: 'static,

Source§

type Query = Modified<OptionQuery<Write<T>>>

Associated query type.
Source§

impl<T> AsQuery for Modified<Option<Alt<T>>>
where T: 'static,

Source§

type Query = Modified<OptionQuery<Alt<T>>>

Associated query type.
Source§

impl<T> AsQuery for Modified<Option<Cpy<T>>>
where T: Copy + 'static,

Source§

type Query = Modified<OptionQuery<Cpy<T>>>

Associated query type.
Source§

impl<T> AsQuery for Modified<OptionQuery<Alt<T>>>
where T: 'static,

Source§

type Query = Modified<OptionQuery<Alt<T>>>

Associated query type.
Source§

impl<T> AsQuery for Modified<OptionQuery<Cpy<T>>>
where T: Copy + 'static,

Source§

type Query = Modified<OptionQuery<Cpy<T>>>

Associated query type.
Source§

impl<T> AsQuery for Modified<OptionQuery<Read<T>>>
where T: 'static,

Source§

type Query = Modified<OptionQuery<Read<T>>>

Associated query type.
Source§

impl<T> AsQuery for Modified<OptionQuery<Write<T>>>
where T: 'static,

Source§

type Query = Modified<OptionQuery<Write<T>>>

Associated query type.
Source§

impl<T> AsQuery for Modified<Read<T>>
where T: 'static,

Source§

type Query = Modified<Read<T>>

Associated query type.
Source§

impl<T> AsQuery for Modified<With<T>>
where T: 'static,

Source§

type Query = Modified<With<T>>

Associated query type.
Source§

impl<T> AsQuery for Modified<Write<T>>
where T: 'static,

Source§

type Query = Modified<Write<T>>

Associated query type.
Source§

impl<T: Clone> Clone for Modified<T>

Source§

fn clone(&self) -> Modified<T>

Returns a duplicate of the value. Read more
1.0.0 · Source§

fn clone_from(&mut self, source: &Self)

Performs copy-assignment from source. Read more
Source§

impl<T: Debug> Debug for Modified<T>

Source§

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

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

impl<T> ImmutableQuery for Modified<Cpy<T>>
where T: Copy + 'static,

Source§

const CHECK_VALID: () = _

Checks that query is valid in compile time.
Source§

impl<T> ImmutableQuery for Modified<OptionQuery<Cpy<T>>>
where T: Copy + 'static,

Source§

const CHECK_VALID: () = _

Checks that query is valid in compile time.
Source§

impl<T> ImmutableQuery for Modified<OptionQuery<Read<T>>>
where T: 'static,

Source§

const CHECK_VALID: () = _

Checks that query is valid in compile time.
Source§

impl<T> ImmutableQuery for Modified<Read<T>>
where T: 'static,

Source§

const CHECK_VALID: () = _

Checks that query is valid in compile time.
Source§

impl<T> ImmutableQuery for Modified<With<T>>
where T: 'static,

Source§

const CHECK_VALID: () = _

Checks that query is valid in compile time.
Source§

impl<T> IntoQuery for Modified<Alt<T>>
where T: 'static,

Source§

fn into_query(self) -> Self::Query

Converts into query.
Source§

impl<T> IntoQuery for Modified<Cpy<T>>
where T: Copy + 'static,

Source§

fn into_query(self) -> Self

Converts into query.
Source§

impl<T> IntoQuery for Modified<OptionQuery<Alt<T>>>
where T: 'static,

Source§

fn into_query(self) -> Self

Converts into query.
Source§

impl<T> IntoQuery for Modified<OptionQuery<Cpy<T>>>
where T: Copy + 'static,

Source§

fn into_query(self) -> Self

Converts into query.
Source§

impl<T> IntoQuery for Modified<OptionQuery<Read<T>>>
where T: 'static,

Source§

fn into_query(self) -> Self

Converts into query.
Source§

impl<T> IntoQuery for Modified<OptionQuery<Write<T>>>
where T: 'static,

Source§

fn into_query(self) -> Self

Converts into query.
Source§

impl<T> IntoQuery for Modified<Read<T>>
where T: 'static,

Source§

fn into_query(self) -> Self

Converts into query.
Source§

impl<T> IntoQuery for Modified<With<T>>
where T: 'static,

Source§

fn into_query(self) -> Self

Converts into query.
Source§

impl<T> IntoQuery for Modified<Write<T>>
where T: 'static,

Source§

fn into_query(self) -> Self

Converts into query.
Source§

impl<T> Query for Modified<Alt<T>>
where T: 'static,

Source§

const MUTABLE: bool = true

Set to true if query fetches at least one mutable component.
Source§

type Item<'a> = RefMut<'a, T>

Item type this query type yields.
Source§

type Fetch<'a> = ModifiedFetchAlt<'a, T>

Fetch value type for this query type. Contains data from one archetype.
Source§

fn component_access( &self, comp: &ComponentInfo, ) -> Result<Option<Access>, WriteAlias>

Returns what kind of access the query performs on the component type. This method may return stronger access type if it is impossible to know exact access with only type-id.
Source§

fn visit_archetype(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped. If returns false, access_archetype and fetch must not be called, meaning that complex query should either skip archetype entirely or for this query specifically. Read more
Source§

unsafe fn access_archetype( &self, _archetype: &Archetype, f: impl FnMut(TypeId, Access), )

Asks query to provide types and access for the specific archetype. Must call provided closure with type id and access pairs. Only types from archetype must be used to call closure. Read more
Source§

unsafe fn fetch<'a>( &self, _arch_idx: u32, archetype: &'a Archetype, epoch: EpochId, ) -> ModifiedFetchAlt<'a, T>

Fetches data from one archetype. Read more
Source§

const FILTERS_ENTITIES: bool = false

Set to true if query filters individual entities.
Source§

fn visit_archetype_late(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped a second time after required access was granted. Read more
Source§

fn reserved_entity_item<'a>( &self, id: EntityId, idx: u32, ) -> Option<Self::Item<'a>>

Returns item for reserved entity if reserved entity (no components) satisfies the query. Otherwise returns None.
Source§

impl<T> Query for Modified<Cpy<T>>
where T: Copy + 'static,

Source§

const MUTABLE: bool = false

Set to true if query fetches at least one mutable component.
Source§

type Item<'a> = T

Item type this query type yields.
Source§

type Fetch<'a> = ModifiedFetchCopied<'a, T>

Fetch value type for this query type. Contains data from one archetype.
Source§

fn component_access( &self, comp: &ComponentInfo, ) -> Result<Option<Access>, WriteAlias>

Returns what kind of access the query performs on the component type. This method may return stronger access type if it is impossible to know exact access with only type-id.
Source§

fn visit_archetype(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped. If returns false, access_archetype and fetch must not be called, meaning that complex query should either skip archetype entirely or for this query specifically. Read more
Source§

unsafe fn access_archetype( &self, _archetype: &Archetype, f: impl FnMut(TypeId, Access), )

Asks query to provide types and access for the specific archetype. Must call provided closure with type id and access pairs. Only types from archetype must be used to call closure. Read more
Source§

unsafe fn fetch<'a>( &self, _arch_idx: u32, archetype: &'a Archetype, _epoch: EpochId, ) -> ModifiedFetchCopied<'a, T>

Fetches data from one archetype. Read more
Source§

const FILTERS_ENTITIES: bool = false

Set to true if query filters individual entities.
Source§

fn visit_archetype_late(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped a second time after required access was granted. Read more
Source§

fn reserved_entity_item<'a>( &self, id: EntityId, idx: u32, ) -> Option<Self::Item<'a>>

Returns item for reserved entity if reserved entity (no components) satisfies the query. Otherwise returns None.
Source§

impl<T> Query for Modified<OptionQuery<Alt<T>>>
where T: 'static,

Source§

const MUTABLE: bool = true

Set to true if query fetches at least one mutable component.
Source§

type Item<'a> = Option<RefMut<'a, T>>

Item type this query type yields.
Source§

type Fetch<'a> = Option<ModifiedFetchAlt<'a, T>>

Fetch value type for this query type. Contains data from one archetype.
Source§

fn component_access( &self, comp: &ComponentInfo, ) -> Result<Option<Access>, WriteAlias>

Returns what kind of access the query performs on the component type. This method may return stronger access type if it is impossible to know exact access with only type-id.
Source§

fn visit_archetype(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped. If returns false, access_archetype and fetch must not be called, meaning that complex query should either skip archetype entirely or for this query specifically. Read more
Source§

unsafe fn access_archetype( &self, archetype: &Archetype, f: impl FnMut(TypeId, Access), )

Asks query to provide types and access for the specific archetype. Must call provided closure with type id and access pairs. Only types from archetype must be used to call closure. Read more
Source§

unsafe fn fetch<'a>( &self, _arch_idx: u32, archetype: &'a Archetype, epoch: EpochId, ) -> Option<ModifiedFetchAlt<'a, T>>

Fetches data from one archetype. Read more
Source§

const FILTERS_ENTITIES: bool = false

Set to true if query filters individual entities.
Source§

fn visit_archetype_late(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped a second time after required access was granted. Read more
Source§

fn reserved_entity_item<'a>( &self, id: EntityId, idx: u32, ) -> Option<Self::Item<'a>>

Returns item for reserved entity if reserved entity (no components) satisfies the query. Otherwise returns None.
Source§

impl<T> Query for Modified<OptionQuery<Cpy<T>>>
where T: Copy + 'static,

Source§

const MUTABLE: bool = false

Set to true if query fetches at least one mutable component.
Source§

type Item<'a> = Option<T>

Item type this query type yields.
Source§

type Fetch<'a> = Option<ModifiedFetchCopied<'a, T>>

Fetch value type for this query type. Contains data from one archetype.
Source§

fn component_access( &self, comp: &ComponentInfo, ) -> Result<Option<Access>, WriteAlias>

Returns what kind of access the query performs on the component type. This method may return stronger access type if it is impossible to know exact access with only type-id.
Source§

fn visit_archetype(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped. If returns false, access_archetype and fetch must not be called, meaning that complex query should either skip archetype entirely or for this query specifically. Read more
Source§

unsafe fn access_archetype( &self, archetype: &Archetype, f: impl FnMut(TypeId, Access), )

Asks query to provide types and access for the specific archetype. Must call provided closure with type id and access pairs. Only types from archetype must be used to call closure. Read more
Source§

unsafe fn fetch<'a>( &self, _arch_idx: u32, archetype: &'a Archetype, _epoch: EpochId, ) -> Option<ModifiedFetchCopied<'a, T>>

Fetches data from one archetype. Read more
Source§

const FILTERS_ENTITIES: bool = false

Set to true if query filters individual entities.
Source§

fn visit_archetype_late(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped a second time after required access was granted. Read more
Source§

fn reserved_entity_item<'a>( &self, id: EntityId, idx: u32, ) -> Option<Self::Item<'a>>

Returns item for reserved entity if reserved entity (no components) satisfies the query. Otherwise returns None.
Source§

impl<T> Query for Modified<OptionQuery<Read<T>>>
where T: 'static,

Source§

const MUTABLE: bool = false

Set to true if query fetches at least one mutable component.
Source§

type Item<'a> = Option<&'a T>

Item type this query type yields.
Source§

type Fetch<'a> = Option<ModifiedFetchRead<'a, T>>

Fetch value type for this query type. Contains data from one archetype.
Source§

fn component_access( &self, comp: &ComponentInfo, ) -> Result<Option<Access>, WriteAlias>

Returns what kind of access the query performs on the component type. This method may return stronger access type if it is impossible to know exact access with only type-id.
Source§

fn visit_archetype(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped. If returns false, access_archetype and fetch must not be called, meaning that complex query should either skip archetype entirely or for this query specifically. Read more
Source§

unsafe fn access_archetype( &self, archetype: &Archetype, f: impl FnMut(TypeId, Access), )

Asks query to provide types and access for the specific archetype. Must call provided closure with type id and access pairs. Only types from archetype must be used to call closure. Read more
Source§

unsafe fn fetch<'a>( &self, _arch_idx: u32, archetype: &'a Archetype, _epoch: EpochId, ) -> Option<ModifiedFetchRead<'a, T>>

Fetches data from one archetype. Read more
Source§

const FILTERS_ENTITIES: bool = false

Set to true if query filters individual entities.
Source§

fn visit_archetype_late(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped a second time after required access was granted. Read more
Source§

fn reserved_entity_item<'a>( &self, id: EntityId, idx: u32, ) -> Option<Self::Item<'a>>

Returns item for reserved entity if reserved entity (no components) satisfies the query. Otherwise returns None.
Source§

impl<T> Query for Modified<OptionQuery<Write<T>>>
where T: 'static,

Source§

const MUTABLE: bool = true

Set to true if query fetches at least one mutable component.
Source§

type Item<'a> = Option<&'a mut T>

Item type this query type yields.
Source§

type Fetch<'a> = Option<ModifiedFetchWrite<'a, T>>

Fetch value type for this query type. Contains data from one archetype.
Source§

fn component_access( &self, comp: &ComponentInfo, ) -> Result<Option<Access>, WriteAlias>

Returns what kind of access the query performs on the component type. This method may return stronger access type if it is impossible to know exact access with only type-id.
Source§

fn visit_archetype(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped. If returns false, access_archetype and fetch must not be called, meaning that complex query should either skip archetype entirely or for this query specifically. Read more
Source§

unsafe fn access_archetype( &self, archetype: &Archetype, f: impl FnMut(TypeId, Access), )

Asks query to provide types and access for the specific archetype. Must call provided closure with type id and access pairs. Only types from archetype must be used to call closure. Read more
Source§

unsafe fn fetch<'a>( &self, _arch_idx: u32, archetype: &'a Archetype, epoch: EpochId, ) -> Option<ModifiedFetchWrite<'a, T>>

Fetches data from one archetype. Read more
Source§

const FILTERS_ENTITIES: bool = false

Set to true if query filters individual entities.
Source§

fn visit_archetype_late(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped a second time after required access was granted. Read more
Source§

fn reserved_entity_item<'a>( &self, id: EntityId, idx: u32, ) -> Option<Self::Item<'a>>

Returns item for reserved entity if reserved entity (no components) satisfies the query. Otherwise returns None.
Source§

impl<T> Query for Modified<Read<T>>
where T: 'static,

Source§

const MUTABLE: bool = false

Set to true if query fetches at least one mutable component.
Source§

type Item<'a> = &'a T

Item type this query type yields.
Source§

type Fetch<'a> = ModifiedFetchRead<'a, T>

Fetch value type for this query type. Contains data from one archetype.
Source§

fn component_access( &self, comp: &ComponentInfo, ) -> Result<Option<Access>, WriteAlias>

Returns what kind of access the query performs on the component type. This method may return stronger access type if it is impossible to know exact access with only type-id.
Source§

fn visit_archetype(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped. If returns false, access_archetype and fetch must not be called, meaning that complex query should either skip archetype entirely or for this query specifically. Read more
Source§

unsafe fn access_archetype( &self, _archetype: &Archetype, f: impl FnMut(TypeId, Access), )

Asks query to provide types and access for the specific archetype. Must call provided closure with type id and access pairs. Only types from archetype must be used to call closure. Read more
Source§

unsafe fn fetch<'a>( &self, _arch_idx: u32, archetype: &'a Archetype, _epoch: EpochId, ) -> ModifiedFetchRead<'a, T>

Fetches data from one archetype. Read more
Source§

const FILTERS_ENTITIES: bool = false

Set to true if query filters individual entities.
Source§

fn visit_archetype_late(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped a second time after required access was granted. Read more
Source§

fn reserved_entity_item<'a>( &self, id: EntityId, idx: u32, ) -> Option<Self::Item<'a>>

Returns item for reserved entity if reserved entity (no components) satisfies the query. Otherwise returns None.
Source§

impl<T> Query for Modified<With<T>>
where T: 'static,

Source§

const MUTABLE: bool = false

Set to true if query fetches at least one mutable component.
Source§

type Item<'a> = ()

Item type this query type yields.
Source§

type Fetch<'a> = ModifiedFetchWith<'a, T>

Fetch value type for this query type. Contains data from one archetype.
Source§

fn component_access( &self, comp: &ComponentInfo, ) -> Result<Option<Access>, WriteAlias>

Returns what kind of access the query performs on the component type. This method may return stronger access type if it is impossible to know exact access with only type-id.
Source§

fn visit_archetype(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped. If returns false, access_archetype and fetch must not be called, meaning that complex query should either skip archetype entirely or for this query specifically. Read more
Source§

unsafe fn access_archetype( &self, _archetype: &Archetype, f: impl FnMut(TypeId, Access), )

Asks query to provide types and access for the specific archetype. Must call provided closure with type id and access pairs. Only types from archetype must be used to call closure. Read more
Source§

unsafe fn fetch<'a>( &self, _arch_idx: u32, archetype: &'a Archetype, _epoch: EpochId, ) -> ModifiedFetchWith<'a, T>

Fetches data from one archetype. Read more
Source§

const FILTERS_ENTITIES: bool = false

Set to true if query filters individual entities.
Source§

fn visit_archetype_late(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped a second time after required access was granted. Read more
Source§

fn reserved_entity_item<'a>( &self, id: EntityId, idx: u32, ) -> Option<Self::Item<'a>>

Returns item for reserved entity if reserved entity (no components) satisfies the query. Otherwise returns None.
Source§

impl<T> Query for Modified<Write<T>>
where T: 'static,

Source§

const MUTABLE: bool = true

Set to true if query fetches at least one mutable component.
Source§

type Item<'a> = &'a mut T

Item type this query type yields.
Source§

type Fetch<'a> = ModifiedFetchWrite<'a, T>

Fetch value type for this query type. Contains data from one archetype.
Source§

fn component_access( &self, comp: &ComponentInfo, ) -> Result<Option<Access>, WriteAlias>

Returns what kind of access the query performs on the component type. This method may return stronger access type if it is impossible to know exact access with only type-id.
Source§

fn visit_archetype(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped. If returns false, access_archetype and fetch must not be called, meaning that complex query should either skip archetype entirely or for this query specifically. Read more
Source§

unsafe fn access_archetype( &self, _archetype: &Archetype, f: impl FnMut(TypeId, Access), )

Asks query to provide types and access for the specific archetype. Must call provided closure with type id and access pairs. Only types from archetype must be used to call closure. Read more
Source§

unsafe fn fetch<'a>( &self, _arch_idx: u32, archetype: &'a Archetype, epoch: EpochId, ) -> ModifiedFetchWrite<'a, T>

Fetches data from one archetype. Read more
Source§

const FILTERS_ENTITIES: bool = false

Set to true if query filters individual entities.
Source§

fn visit_archetype_late(&self, archetype: &Archetype) -> bool

Checks if archetype must be visited or skipped a second time after required access was granted. Read more
Source§

fn reserved_entity_item<'a>( &self, id: EntityId, idx: u32, ) -> Option<Self::Item<'a>>

Returns item for reserved entity if reserved entity (no components) satisfies the query. Otherwise returns None.
Source§

impl<T> QueryArg for Modified<Alt<T>>
where T: Send + 'static,

Source§

fn new() -> Self

Creates new query state.
Source§

fn after(&mut self, world: &World)

Hook called after function-system runs to update the state.
Source§

fn before(&mut self, world: &World)

Hook called before function-system runs to update the state.
Source§

impl<T> QueryArg for Modified<Cpy<T>>
where T: Copy + Sync + 'static,

Source§

fn new() -> Self

Creates new query state.
Source§

fn after(&mut self, world: &World)

Hook called after function-system runs to update the state.
Source§

fn before(&mut self, world: &World)

Hook called before function-system runs to update the state.
Source§

impl<T> QueryArg for Modified<OptionQuery<Alt<T>>>
where T: Send + 'static,

Source§

fn new() -> Self

Creates new query state.
Source§

fn after(&mut self, world: &World)

Hook called after function-system runs to update the state.
Source§

fn before(&mut self, world: &World)

Hook called before function-system runs to update the state.
Source§

impl<T> QueryArg for Modified<OptionQuery<Cpy<T>>>
where T: Copy + Sync + 'static,

Source§

fn new() -> Self

Creates new query state.
Source§

fn after(&mut self, world: &World)

Hook called after function-system runs to update the state.
Source§

fn before(&mut self, world: &World)

Hook called before function-system runs to update the state.
Source§

impl<T> QueryArg for Modified<OptionQuery<Read<T>>>
where T: Sync + 'static,

Source§

fn new() -> Self

Creates new query state.
Source§

fn after(&mut self, world: &World)

Hook called after function-system runs to update the state.
Source§

fn before(&mut self, world: &World)

Hook called before function-system runs to update the state.
Source§

impl<T> QueryArg for Modified<Read<T>>
where T: Sync + 'static,

Source§

fn new() -> Self

Creates new query state.
Source§

fn after(&mut self, world: &World)

Hook called after function-system runs to update the state.
Source§

fn before(&mut self, world: &World)

Hook called before function-system runs to update the state.
Source§

impl<T> QueryArg for Modified<With<T>>
where T: 'static,

Source§

fn new() -> Self

Creates new query state.
Source§

fn after(&mut self, world: &World)

Hook called after function-system runs to update the state.
Source§

fn before(&mut self, world: &World)

Hook called before function-system runs to update the state.
Source§

impl<T> QueryArg for Modified<Write<T>>
where T: Send + 'static,

Source§

fn new() -> Self

Creates new query state.
Source§

fn after(&mut self, world: &World)

Hook called after function-system runs to update the state.
Source§

fn before(&mut self, world: &World)

Hook called before function-system runs to update the state.
Source§

impl<T: Copy> Copy for Modified<T>

Source§

impl<T> SendQuery for Modified<Alt<T>>
where T: Send + 'static,

Source§

impl<T> SendQuery for Modified<Cpy<T>>
where T: Sync + Copy + 'static,

Source§

impl<T> SendQuery for Modified<OptionQuery<Alt<T>>>
where T: Send + 'static,

Source§

impl<T> SendQuery for Modified<OptionQuery<Cpy<T>>>
where T: Sync + Copy + 'static,

Source§

impl<T> SendQuery for Modified<OptionQuery<Read<T>>>
where T: Sync + 'static,

Source§

impl<T> SendQuery for Modified<OptionQuery<Write<T>>>
where T: Send + 'static,

Source§

impl<T> SendQuery for Modified<Read<T>>
where T: Sync + 'static,

Source§

impl<T> SendQuery for Modified<With<T>>
where T: 'static,

Source§

impl<T> SendQuery for Modified<Write<T>>
where T: Send + 'static,

Auto Trait Implementations§

§

impl<T> Freeze for Modified<T>
where T: Freeze,

§

impl<T> RefUnwindSafe for Modified<T>
where T: RefUnwindSafe,

§

impl<T> Send for Modified<T>
where T: Send,

§

impl<T> Sync for Modified<T>
where T: Sync,

§

impl<T> Unpin for Modified<T>
where T: Unpin,

§

impl<T> UnwindSafe for Modified<T>
where T: 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> CloneToUninit for T
where T: Clone,

Source§

unsafe fn clone_to_uninit(&self, dest: *mut u8)

🔬This is a nightly-only experimental API. (clone_to_uninit)
Performs copy-assignment from self to dest. 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> ToOwned for T
where T: Clone,

Source§

type Owned = T

The resulting type after obtaining ownership.
Source§

fn to_owned(&self) -> T

Creates owned data from borrowed data, usually by cloning. Read more
Source§

fn clone_into(&self, target: &mut T)

Uses borrowed data to replace owned data, usually by cloning. 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.
Source§

impl<Q> IntoSendQuery for Q

Source§

impl<Q> SendImmutableQuery for Q