A read-only pointer to the value of a state variable at a particular revision.
Reads through a commit are not guaranteed to be the latest value visible to
the runtime. Commits should be shared and used within the context of a
crate::runtime::Revision, being re-loaded from the state variable
type Target = State
The resulting type after dereferencing.
pub fn hash_slice<H>(data: &[Self], state: &mut H) where1.3.0[src]
impl<State> StructuralEq for Commit<State>[src]
impl<State> StructuralPartialEq for Commit<State>[src]
Auto Trait Implementations
impl<State> RefUnwindSafe for Commit<State> where[src]
impl<State> UnwindSafe for Commit<State> where[src]
impl<T> CallHasher for T where
impl<T> Downcast for T where
pub fn into_any_rc(self: Rc<T>) -> Rc<dyn Any + 'static>
pub fn as_any_mut(&mut self) -> &mut (dyn Any + 'static)
impl<T> Instrument for T[src]
pub fn instrument(self, span: Span) -> Instrumented<Self>[src]
pub fn in_current_span(self) -> Instrumented<Self>[src]
type Owned = T
The resulting type after obtaining ownership.
pub fn clone_into(&self, target: &mut T)[src]
type Error = Infallible
The type returned in the event of a conversion error.