pub enum SimpleTypeRef {
Resolved(SimpleTypeKey),
BuiltIn(BuiltInType),
}Expand description
Reference to a simple type
Variants§
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