#[non_exhaustive]pub struct VisibleImport {
pub module_name: String,
}Expand description
Imported module visible to the current document.
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.module_name: StringImported module name.
Trait Implementations§
Source§impl Clone for VisibleImport
impl Clone for VisibleImport
Source§fn clone(&self) -> VisibleImport
fn clone(&self) -> VisibleImport
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 VisibleImport
impl Debug for VisibleImport
Source§impl PartialEq for VisibleImport
impl PartialEq for VisibleImport
impl Eq for VisibleImport
impl StructuralPartialEq for VisibleImport
Auto Trait Implementations§
impl Freeze for VisibleImport
impl RefUnwindSafe for VisibleImport
impl Send for VisibleImport
impl Sync for VisibleImport
impl Unpin for VisibleImport
impl UnsafeUnpin for VisibleImport
impl UnwindSafe for VisibleImport
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