pub enum ExportedSymbol<'a> {
Function(&'a Mfa),
FunctionAnyArity {
module: &'a ModuleName,
function: &'a FunctionName,
},
Type {
module: &'a ModuleName,
name: &'a TypeName,
arity: Arity,
},
}Expand description
The three SymbolKind arms an -export or -export_type list can
answer for: Behaviour, Callback, Macro, and Record resolve some
other way and have no exported form to ask about.
Variants§
Trait Implementations§
Source§impl<'a> Clone for ExportedSymbol<'a>
impl<'a> Clone for ExportedSymbol<'a>
impl<'a> Copy for ExportedSymbol<'a>
Auto Trait Implementations§
impl<'a> Forget for ExportedSymbol<'a>
impl<'a> Freeze for ExportedSymbol<'a>
impl<'a> Move for ExportedSymbol<'a>
impl<'a> RefUnwindSafe for ExportedSymbol<'a>
impl<'a> Send for ExportedSymbol<'a>
impl<'a> Sync for ExportedSymbol<'a>
impl<'a> Unpin for ExportedSymbol<'a>
impl<'a> UnsafeUnpin for ExportedSymbol<'a>
impl<'a> UnwindSafe for ExportedSymbol<'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