pub struct Config {}
Expand description
Configuration options for building a PikeVM
.
Implementations§
Source§impl Config
impl Config
Sourcepub const DEFAULT_PAGE_SIZE: usize = 65_536usize
pub const DEFAULT_PAGE_SIZE: usize = 65_536usize
The default size of a memory page in bytes (64 KiB).
Sourcepub fn get_page_size(&self) -> usize
pub fn get_page_size(&self) -> usize
Returns the configured memory page size in bytes.
Trait Implementations§
impl Copy for Config
Auto Trait Implementations§
impl Freeze for Config
impl RefUnwindSafe for Config
impl Send for Config
impl Sync for Config
impl Unpin for Config
impl UnwindSafe for Config
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