pub enum SimpleTypeReference {
Resolved(SimpleTypeKey),
BuiltIn(BuiltInType),
Unresolved {
namespace: Option<NameId>,
local_name: NameId,
},
}Expand description
Reference to a simple type
Variants§
Resolved(SimpleTypeKey)
Resolved simple type key
BuiltIn(BuiltInType)
Built-in type
Unresolved
Unresolved reference
Trait Implementations§
Source§impl Clone for SimpleTypeReference
impl Clone for SimpleTypeReference
Source§fn clone(&self) -> SimpleTypeReference
fn clone(&self) -> SimpleTypeReference
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 SimpleTypeReference
impl RefUnwindSafe for SimpleTypeReference
impl Send for SimpleTypeReference
impl Sync for SimpleTypeReference
impl Unpin for SimpleTypeReference
impl UnsafeUnpin for SimpleTypeReference
impl UnwindSafe for SimpleTypeReference
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