pub struct BuildCache { /* private fields */ }Expand description
A simple cache of compiled module results.
Implementations§
Source§impl BuildCache
impl BuildCache
Sourcepub fn invalidate(&mut self, module: &str)
pub fn invalidate(&mut self, module: &str)
Remove an entry.
Trait Implementations§
Source§impl Clone for BuildCache
impl Clone for BuildCache
Source§fn clone(&self) -> BuildCache
fn clone(&self) -> BuildCache
Returns a duplicate of the value. Read more
1.0.0 · 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 BuildCache
impl Debug for BuildCache
Source§impl Default for BuildCache
impl Default for BuildCache
Source§fn default() -> BuildCache
fn default() -> BuildCache
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for BuildCache
impl RefUnwindSafe for BuildCache
impl Send for BuildCache
impl Sync for BuildCache
impl Unpin for BuildCache
impl UnsafeUnpin for BuildCache
impl UnwindSafe for BuildCache
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