pub struct Key {
pub tag: Tag,
pub src: Str,
}Expand description
Data shared in #[safety] proc macro.
Fields§
§tag: TagTag defined in config file.
src: StrFile path where the tag is defined: we must be sure each tag only derives from single file path.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Key
impl RefUnwindSafe for Key
impl Send for Key
impl Sync for Key
impl Unpin for Key
impl UnwindSafe for Key
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