pub struct Export<'a> {
pub name: &'a str,
pub line: NonZeroU32,
}Expand description
A single export entry: a name and its source line number.
Fields§
§name: &'a strThe export name (or module specifier for re-exports).
line: NonZeroU321-based source line number.
Trait Implementations§
impl<'a> Copy for Export<'a>
impl<'a> Eq for Export<'a>
impl<'a> StructuralPartialEq for Export<'a>
Auto Trait Implementations§
impl<'a> Freeze for Export<'a>
impl<'a> RefUnwindSafe for Export<'a>
impl<'a> Send for Export<'a>
impl<'a> Sync for Export<'a>
impl<'a> Unpin for Export<'a>
impl<'a> UnsafeUnpin for Export<'a>
impl<'a> UnwindSafe for Export<'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