Struct memoverlay::PatchLayer
source · pub struct PatchLayer { /* private fields */ }Implementations§
source§impl PatchLayer
impl PatchLayer
pub fn new_with(patch: Patch) -> Self
pub fn may_contain(&self, patch: &Patch) -> bool
pub fn insert(&mut self, patch: Patch) -> bool
sourcepub fn patch_for(&self, offset: u64) -> Option<&Patch>
pub fn patch_for(&self, offset: u64) -> Option<&Patch>
finds the patch which contains data for the given offset