pub enum TypeOwner {
World(WorldId),
Interface(InterfaceId),
None,
}
Variants§
World(WorldId)
This type was defined within a world
block.
Interface(InterfaceId)
This type was defined within an interface
block.
None
This type wasn’t inherently defined anywhere, such as a list<T>
, which
doesn’t need an owner.
Trait Implementations§
impl Copy for TypeOwner
impl Eq for TypeOwner
impl StructuralPartialEq for TypeOwner
Auto Trait Implementations§
impl Freeze for TypeOwner
impl RefUnwindSafe for TypeOwner
impl Send for TypeOwner
impl Sync for TypeOwner
impl Unpin for TypeOwner
impl UnwindSafe for TypeOwner
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.