pub struct Corpus<'a> {
pub workspace: &'a str,
pub user: &'a str,
pub memory: &'a str,
pub atoms: &'a [Record],
}Expand description
The pack a projection is built from or searched against.
The four travel together everywhere, and separating them is how a set’s cards end up written as a workspace’s.
Fields§
§workspace: &'a strThe workspace being projected.
user: &'a strThe seat card, or a set’s stand-in for it.
memory: &'a strThe workspace card, or a set’s stand-in for it.
atoms: &'a [Record]The live atoms.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for Corpus<'a>
impl<'a> RefUnwindSafe for Corpus<'a>
impl<'a> Send for Corpus<'a>
impl<'a> Sync for Corpus<'a>
impl<'a> Unpin for Corpus<'a>
impl<'a> UnsafeUnpin for Corpus<'a>
impl<'a> UnwindSafe for Corpus<'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