pub enum TypeOrMethodDef {
TypeDef(TypeDef),
MethodDef(MethodDef),
}Variants§
Implementations§
Trait Implementations§
Source§impl Clone for TypeOrMethodDef
impl Clone for TypeOrMethodDef
Source§fn clone(&self) -> TypeOrMethodDef
fn clone(&self) -> TypeOrMethodDef
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 Debug for TypeOrMethodDef
impl Debug for TypeOrMethodDef
Source§impl Decode for TypeOrMethodDef
impl Decode for TypeOrMethodDef
Source§impl Ord for TypeOrMethodDef
impl Ord for TypeOrMethodDef
Source§fn cmp(&self, other: &TypeOrMethodDef) -> Ordering
fn cmp(&self, other: &TypeOrMethodDef) -> 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 PartialEq for TypeOrMethodDef
impl PartialEq for TypeOrMethodDef
Source§impl PartialOrd for TypeOrMethodDef
impl PartialOrd for TypeOrMethodDef
impl Copy for TypeOrMethodDef
impl Eq for TypeOrMethodDef
impl StructuralPartialEq for TypeOrMethodDef
Auto Trait Implementations§
impl Freeze for TypeOrMethodDef
impl RefUnwindSafe for TypeOrMethodDef
impl Send for TypeOrMethodDef
impl Sync for TypeOrMethodDef
impl Unpin for TypeOrMethodDef
impl UnsafeUnpin for TypeOrMethodDef
impl UnwindSafe for TypeOrMethodDef
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