pub struct NamespaceExport { /* private fields */ }Expand description
One statically declared export, retaining source and exported names.
For an ordinary export(name) declaration both names are identical. An
assignment-shaped declaration such as export(public_name = internal_name)
retains the source binding as source_name and the namespace binding as
exported_name.
Implementations§
Trait Implementations§
Source§impl Clone for NamespaceExport
impl Clone for NamespaceExport
Source§impl Debug for NamespaceExport
impl Debug for NamespaceExport
impl Eq for NamespaceExport
Source§impl PartialEq for NamespaceExport
impl PartialEq for NamespaceExport
impl StructuralPartialEq for NamespaceExport
Auto Trait Implementations§
impl Freeze for NamespaceExport
impl RefUnwindSafe for NamespaceExport
impl Send for NamespaceExport
impl Sync for NamespaceExport
impl Unpin for NamespaceExport
impl UnsafeUnpin for NamespaceExport
impl UnwindSafe for NamespaceExport
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