pub struct CacheDefinition {
pub name: &'static str,
pub capacity: usize,
pub doc: Option<&'static str>,
}Fields§
§name: &'static str§capacity: usize§doc: Option<&'static str>Trait Implementations§
Auto Trait Implementations§
impl Freeze for CacheDefinition
impl RefUnwindSafe for CacheDefinition
impl Send for CacheDefinition
impl Sync for CacheDefinition
impl Unpin for CacheDefinition
impl UnwindSafe for CacheDefinition
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