pub struct ExportInfo {
pub name: String,
pub kind: ExportKind,
pub span: Span,
}Expand description
An export statement extracted from source code.
Fields§
§name: String§kind: ExportKind§span: SpanTrait Implementations§
Source§impl Clone for ExportInfo
impl Clone for ExportInfo
Source§fn clone(&self) -> ExportInfo
fn clone(&self) -> ExportInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExportInfo
impl Debug for ExportInfo
Source§impl Default for ExportInfo
impl Default for ExportInfo
Source§fn default() -> ExportInfo
fn default() -> ExportInfo
Returns the “default value” for a type. Read more
Source§impl Hash for ExportInfo
impl Hash for ExportInfo
Source§impl PartialEq for ExportInfo
impl PartialEq for ExportInfo
impl Eq for ExportInfo
impl StructuralPartialEq for ExportInfo
Auto Trait Implementations§
impl Freeze for ExportInfo
impl RefUnwindSafe for ExportInfo
impl Send for ExportInfo
impl Sync for ExportInfo
impl Unpin for ExportInfo
impl UnsafeUnpin for ExportInfo
impl UnwindSafe for ExportInfo
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