pub struct WorldImport<'a> {
pub docs: Vec<DocComment<'a>>,
pub path: WorldItemPath<'a>,
}
Expand description
Represents a world import in the AST.
Fields§
§docs: Vec<DocComment<'a>>
The doc comments for the world import.
path: WorldItemPath<'a>
The path of the imported item.
Trait Implementations§
Source§impl<'a> Clone for WorldImport<'a>
impl<'a> Clone for WorldImport<'a>
Source§fn clone(&self) -> WorldImport<'a>
fn clone(&self) -> WorldImport<'a>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<'a> Debug for WorldImport<'a>
impl<'a> Debug for WorldImport<'a>
Auto Trait Implementations§
impl<'a> Freeze for WorldImport<'a>
impl<'a> RefUnwindSafe for WorldImport<'a>
impl<'a> Send for WorldImport<'a>
impl<'a> Sync for WorldImport<'a>
impl<'a> Unpin for WorldImport<'a>
impl<'a> UnwindSafe for WorldImport<'a>
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