pub struct PublicReexport {
pub name: String,
pub qualified_name: String,
pub target: String,
pub module_path: String,
pub span: SrcSpan,
}Expand description
A public use leaf. Keeping the syntactic target is useful even when that target cannot be
resolved without Cargo/rustc name resolution.
Fields§
§name: StringName made public by the re-export (the alias after as, when present).
qualified_name: StringQualified name of the public binding.
target: StringBest-effort module-qualified target path.
module_path: String§span: SrcSpanTrait Implementations§
Source§impl Clone for PublicReexport
impl Clone for PublicReexport
Source§fn clone(&self) -> PublicReexport
fn clone(&self) -> PublicReexport
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 PublicReexport
impl Debug for PublicReexport
impl Eq for PublicReexport
Source§impl PartialEq for PublicReexport
impl PartialEq for PublicReexport
impl StructuralPartialEq for PublicReexport
Auto Trait Implementations§
impl Freeze for PublicReexport
impl RefUnwindSafe for PublicReexport
impl Send for PublicReexport
impl Sync for PublicReexport
impl Unpin for PublicReexport
impl UnsafeUnpin for PublicReexport
impl UnwindSafe for PublicReexport
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