pub struct WorldInclude {
pub stability: Stability,
pub id: WorldId,
pub names: Vec<IncludeName>,
pub span: Span,
}Expand description
An entry in the includes list of a world, representing an include
statement in WIT.
Fields§
§stability: StabilityThe stability annotation on this include.
id: WorldIdThe world being included.
names: Vec<IncludeName>Names being renamed as part of this include.
span: SpanSource span for this include statement.
Trait Implementations§
Source§impl Clone for WorldInclude
impl Clone for WorldInclude
Source§fn clone(&self) -> WorldInclude
fn clone(&self) -> WorldInclude
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 moreAuto Trait Implementations§
impl Freeze for WorldInclude
impl RefUnwindSafe for WorldInclude
impl Send for WorldInclude
impl Sync for WorldInclude
impl Unpin for WorldInclude
impl UnwindSafe for WorldInclude
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