pub enum Touch {
ComponentRead {
id: u8,
type_name: &'static str,
},
ComponentWrite {
id: u8,
type_name: &'static str,
},
Structural {
op: &'static str,
},
Resource {
type_id: TypeId,
type_name: &'static str,
write: bool,
},
Blob {
op: &'static str,
},
}Expand description
What a context accessor touched. Component ids are the registry
discriminants; resources and events report their TypeId for the client’s
id registry to resolve.
Variants§
ComponentRead
A component column was read.
Fields
ComponentWrite
A component column was written.
Fields
Structural
Structural change (push/insert/remove/despawn/drain): reorders columns and the join index, so it requires exclusive access.
Resource
A resource or event queue was touched.
Fields
Blob
Compiled-payload access mutates the blob store’s residency.
Auto Trait Implementations§
impl Freeze for Touch
impl RefUnwindSafe for Touch
impl Send for Touch
impl Sync for Touch
impl Unpin for Touch
impl UnsafeUnpin for Touch
impl UnwindSafe for Touch
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more