pub enum TypeDefOrRef {
TypeDef(TypeDef),
TypeRef(TypeRef),
TypeSpec(TypeSpec),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TypeDefOrRef
impl Clone for TypeDefOrRef
Source§fn clone(&self) -> TypeDefOrRef
fn clone(&self) -> TypeDefOrRef
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Default for TypeDefOrRef
impl Default for TypeDefOrRef
Source§impl Hash for TypeDefOrRef
impl Hash for TypeDefOrRef
Source§impl Ord for TypeDefOrRef
impl Ord for TypeDefOrRef
Source§impl PartialEq for TypeDefOrRef
impl PartialEq for TypeDefOrRef
Source§impl PartialOrd for TypeDefOrRef
impl PartialOrd for TypeDefOrRef
impl Copy for TypeDefOrRef
impl Eq for TypeDefOrRef
impl StructuralPartialEq for TypeDefOrRef
Auto Trait Implementations§
impl Freeze for TypeDefOrRef
impl RefUnwindSafe for TypeDefOrRef
impl Send for TypeDefOrRef
impl Sync for TypeDefOrRef
impl Unpin for TypeDefOrRef
impl UnwindSafe for TypeDefOrRef
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