pub struct Opened<'a> {
pub store: String,
pub source: &'a dyn ArraySource,
pub context: PackageContext<'a>,
pub cache: Option<&'a mut PackageCache>,
}Expand description
One package handed to compute_packages: the store id its objects are
asked under (Asked::store), where they are read, what the face already
knows of it, and - when the face keeps one - its cache.
Fields§
§store: StringThe id Asked::store names it by (s1, s2, … in the front end).
source: &'a dyn ArraySourceWhere its objects and arrays are read.
context: PackageContext<'a>Its colour sets, index and colour resolver - the face’s own when it has them.
cache: Option<&'a mut PackageCache>What it keeps between two calculations; None: nothing is kept.
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Opened<'a>
impl<'a> !Send for Opened<'a>
impl<'a> !Sync for Opened<'a>
impl<'a> !UnwindSafe for Opened<'a>
impl<'a> Freeze for Opened<'a>
impl<'a> Unpin for Opened<'a>
impl<'a> UnsafeUnpin for Opened<'a>
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