pub enum TypeOrMethodDef<'a> {
TypeDef(TypeDef<'a>),
}Variants§
Implementations§
Trait Implementations§
Source§impl<'a> Clone for TypeOrMethodDef<'a>
impl<'a> Clone for TypeOrMethodDef<'a>
Source§fn clone(&self) -> TypeOrMethodDef<'a>
fn clone(&self) -> TypeOrMethodDef<'a>
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<'a> Debug for TypeOrMethodDef<'a>
impl<'a> Debug for TypeOrMethodDef<'a>
Source§impl<'a> Decode<'a> for TypeOrMethodDef<'a>
impl<'a> Decode<'a> for TypeOrMethodDef<'a>
Source§impl<'a> From<TypeDef<'a>> for TypeOrMethodDef<'a>
impl<'a> From<TypeDef<'a>> for TypeOrMethodDef<'a>
Source§impl<'a> Hash for TypeOrMethodDef<'a>
impl<'a> Hash for TypeOrMethodDef<'a>
Source§impl<'a> Ord for TypeOrMethodDef<'a>
impl<'a> Ord for TypeOrMethodDef<'a>
Source§fn cmp(&self, other: &TypeOrMethodDef<'a>) -> Ordering
fn cmp(&self, other: &TypeOrMethodDef<'a>) -> Ordering
1.21.0 · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl<'a> PartialEq for TypeOrMethodDef<'a>
impl<'a> PartialEq for TypeOrMethodDef<'a>
Source§impl<'a> PartialOrd for TypeOrMethodDef<'a>
impl<'a> PartialOrd for TypeOrMethodDef<'a>
impl<'a> Eq for TypeOrMethodDef<'a>
impl<'a> StructuralPartialEq for TypeOrMethodDef<'a>
Auto Trait Implementations§
impl<'a> Freeze for TypeOrMethodDef<'a>
impl<'a> RefUnwindSafe for TypeOrMethodDef<'a>
impl<'a> Send for TypeOrMethodDef<'a>
impl<'a> Sync for TypeOrMethodDef<'a>
impl<'a> Unpin for TypeOrMethodDef<'a>
impl<'a> UnwindSafe for TypeOrMethodDef<'a>
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