pub enum TypeRef {
Simple(SimpleTypeRef),
Complex(ComplexTypeRef),
Unresolved {
namespace: Option<NameId>,
local_name: NameId,
},
AnyType,
}Expand description
Reference to a type (simple or complex)
Variants§
Simple(SimpleTypeRef)
Reference to a simple type
Complex(ComplexTypeRef)
Reference to a complex type
Unresolved
Unresolved reference (QName)
AnyType
Built-in anyType
Trait Implementations§
Auto Trait Implementations§
impl Freeze for TypeRef
impl RefUnwindSafe for TypeRef
impl Send for TypeRef
impl Sync for TypeRef
impl Unpin for TypeRef
impl UnsafeUnpin for TypeRef
impl UnwindSafe for TypeRef
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