pub struct BakeCache {
pub schema_version: u16,
pub entries: Vec<CachedEntry>,
}Expand description
Bake-only cache file envelope. entries order is hint-sorted so re-writes
are deterministic, but lookups go through a HashMap built at load.
Fields§
§schema_version: u16§entries: Vec<CachedEntry>Implementations§
Trait Implementations§
Source§impl<'__de, __Context> BorrowDecode<'__de, __Context> for BakeCache
impl<'__de, __Context> BorrowDecode<'__de, __Context> for BakeCache
Source§fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>(
decoder: &mut __D,
) -> Result<Self, DecodeError>
fn borrow_decode<__D: BorrowDecoder<'__de, Context = __Context>>( decoder: &mut __D, ) -> Result<Self, DecodeError>
Attempt to decode this type with the given BorrowDecode.
Auto Trait Implementations§
impl Freeze for BakeCache
impl RefUnwindSafe for BakeCache
impl Send for BakeCache
impl Sync for BakeCache
impl Unpin for BakeCache
impl UnsafeUnpin for BakeCache
impl UnwindSafe for BakeCache
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