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 moreSource§impl Debug for WorldInclude
impl Debug for WorldInclude
Source§impl PartialEq for WorldInclude
impl PartialEq for WorldInclude
impl Eq for WorldInclude
impl StructuralPartialEq for WorldInclude
Auto Trait Implementations§
impl Freeze for WorldInclude
impl RefUnwindSafe for WorldInclude
impl Send for WorldInclude
impl Sync for WorldInclude
impl Unpin for WorldInclude
impl UnsafeUnpin 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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.