pub enum Source {
Machine(PathBuf),
Checkout(PathBuf),
Named(PathBuf),
Literal,
}Expand description
Which book an answer came from.
Variants§
Machine(PathBuf)
This machine’s registry — where device facts live (§9 #9).
Checkout(PathBuf)
A checkout’s book that the machine registry does not also hold.
Named(PathBuf)
The one registry SMIX_SIMS_JSON names.
Literal
No book: the reference was the identifier itself.
Trait Implementations§
impl Eq for Source
impl StructuralPartialEq for Source
Auto Trait Implementations§
impl Freeze for Source
impl RefUnwindSafe for Source
impl Send for Source
impl Sync for Source
impl Unpin for Source
impl UnsafeUnpin for Source
impl UnwindSafe for Source
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