pub struct CompiledProgramCache { /* private fields */ }Implementations§
Source§impl CompiledProgramCache
impl CompiledProgramCache
pub fn new() -> Self
pub fn with_capacity(capacity: usize) -> Self
pub fn get_or_compile( &mut self, source: &str, ) -> Result<Arc<CompiledProgram>, ParseError>
pub fn clear(&mut self)
pub fn stats(&self) -> CompiledProgramCacheStats
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for CompiledProgramCache
impl !UnwindSafe for CompiledProgramCache
impl Freeze for CompiledProgramCache
impl Send for CompiledProgramCache
impl Sync for CompiledProgramCache
impl Unpin for CompiledProgramCache
impl UnsafeUnpin for CompiledProgramCache
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