pub struct WorldInclude<'a> {
pub docs: Vec<DocComment<'a>>,
pub world: WorldRef<'a>,
pub with: Vec<WorldIncludeItem<'a>>,
}
Expand description
Represents a world include in the AST.
Fields§
§docs: Vec<DocComment<'a>>
The doc comments for the world include.
world: WorldRef<'a>
The reference to the world to include.
with: Vec<WorldIncludeItem<'a>>
The optional include-with items.
Trait Implementations§
Source§impl<'a> Clone for WorldInclude<'a>
impl<'a> Clone for WorldInclude<'a>
Source§fn clone(&self) -> WorldInclude<'a>
fn clone(&self) -> WorldInclude<'a>
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<'a> Debug for WorldInclude<'a>
impl<'a> Debug for WorldInclude<'a>
Auto Trait Implementations§
impl<'a> Freeze for WorldInclude<'a>
impl<'a> RefUnwindSafe for WorldInclude<'a>
impl<'a> Send for WorldInclude<'a>
impl<'a> Sync for WorldInclude<'a>
impl<'a> Unpin for WorldInclude<'a>
impl<'a> UnwindSafe for WorldInclude<'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