#[repr(C)]pub struct TranslationCache {
pub entries: [TlbEntry; 64],
}Expand description
The table compiled code indexes.
Fields§
§entries: [TlbEntry; 64]Implementations§
Source§impl TranslationCache
impl TranslationCache
Sourcepub fn flush(&mut self)
pub fn flush(&mut self)
Drops every cached translation.
Called for any change to which pages exist or where they live. It is deliberately the blunt instrument: mapping is a setup-time operation and a mis-scoped invalidation here would be a use-after-free in compiled code.
Trait Implementations§
Source§impl Clone for TranslationCache
impl Clone for TranslationCache
Source§fn clone(&self) -> TranslationCache
fn clone(&self) -> TranslationCache
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TranslationCache
impl Debug for TranslationCache
Auto Trait Implementations§
impl Freeze for TranslationCache
impl RefUnwindSafe for TranslationCache
impl Send for TranslationCache
impl Sync for TranslationCache
impl Unpin for TranslationCache
impl UnsafeUnpin for TranslationCache
impl UnwindSafe for TranslationCache
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