Struct random_access_memory::Sync
[−]
[src]
pub struct Sync;
Main constructor.
Methods
impl Sync
[src]
pub fn new(page_size: usize) -> Sync<SyncMethods>
[src]
Create a new instance.
pub fn default() -> Sync<SyncMethods>
[src]
Create a new instance with a 1mb page size.
pub fn with_buffers(
page_size: usize,
buffers: Vec<Vec<u8>>
) -> Sync<SyncMethods>
[src]
page_size: usize,
buffers: Vec<Vec<u8>>
) -> Sync<SyncMethods>
Create a new instance, but pass the initial buffers to the constructor.