pub enum SimpleTypeRef {
Resolved(SimpleTypeKey),
Unresolved {
namespace: Option<NameId>,
local_name: NameId,
},
BuiltIn(BuiltInType),
}Expand description
Reference to a simple type (by key or built-in name)
Variants§
Resolved(SimpleTypeKey)
Reference to a defined simple type
Unresolved
Unresolved reference (QName to be resolved later)
BuiltIn(BuiltInType)
Built-in type reference
Trait Implementations§
Source§impl Clone for SimpleTypeRef
impl Clone for SimpleTypeRef
Source§fn clone(&self) -> SimpleTypeRef
fn clone(&self) -> SimpleTypeRef
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 SimpleTypeRef
impl RefUnwindSafe for SimpleTypeRef
impl Send for SimpleTypeRef
impl Sync for SimpleTypeRef
impl Unpin for SimpleTypeRef
impl UnsafeUnpin for SimpleTypeRef
impl UnwindSafe for SimpleTypeRef
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