pub enum Metadatum {
FileLocation(Arc<PathBuf>, Arc<str>),
Span {
loc_idx: MetadataIndex,
start: usize,
end: usize,
},
StateIndex(usize),
StorageAttribute(StorageOperation),
}
Variants
FileLocation(Arc<PathBuf>, Arc<str>)
A path to a source file.
Span
A specific section within a source file.
StateIndex(usize)
A unique token for storage operations.
StorageAttribute(StorageOperation)
An attribute indicating the permitted/expected storage operations with a function.
Auto Trait Implementations
impl RefUnwindSafe for Metadatum
impl Send for Metadatum
impl Sync for Metadatum
impl Unpin for Metadatum
impl UnwindSafe for Metadatum
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more