Struct rd_util::anon_area::AnonArea [−][src]
pub struct AnonArea { /* fields omitted */ }Implementations
Anonymous memory which can be shared by multiple threads with RwLock protection. Accesses to memory positions only require read locking for both reads and writes.
Determine the page given the relative position rel and size of
the anon area. rel is in the range [-1.0, 1.0] with the position
0.0 mapping to the first page, positive positions to even slots and
negative odd so that modulating the amplitude of rel changes how
much area is accessed without shifting the center.
Return a mutable u8 reference to the position specified by the page index. The anon area is shared and there’s no access control.
Auto Trait Implementations
impl RefUnwindSafe for AnonAreaimpl UnwindSafe for AnonArea