Skip to main content

RcUpdater

Trait RcUpdater 

Source
pub(crate) trait RcUpdater {
    // Required method
    fn update(&mut self, address: Address, value: Unsigned36Bit);
}
Expand description

Allows updates to the values of RC-words.

We use this to separate the activities of selecting addresses for RC-words, and determining their values.

Required Methods§

Source

fn update(&mut self, address: Address, value: Unsigned36Bit)

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§