pub struct ReExport {
pub vis: String,
pub name: String,
pub cfg_attrs: Vec<String>,
}Expand description
A re-export emitted in the parent module to preserve the original namespace.
Fields§
§vis: StringVisibility rendered exactly as the item originally declared it.
name: StringThe item’s identifier.
cfg_attrs: Vec<String>#[cfg(...)] attributes to replicate onto the re-export, if any.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ReExport
impl RefUnwindSafe for ReExport
impl Send for ReExport
impl Sync for ReExport
impl Unpin for ReExport
impl UnsafeUnpin for ReExport
impl UnwindSafe for ReExport
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