pub enum TypeOrMethodDef {
TypeDef(TypeDef),
}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 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for TypeOrMethodDef
impl Eq for TypeOrMethodDef
Source§impl Hash for TypeOrMethodDef
impl Hash for TypeOrMethodDef
Source§impl Ord for TypeOrMethodDef
impl Ord for TypeOrMethodDef
1.21.0 (const: unstable) · 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§fn eq(&self, other: &TypeOrMethodDef) -> bool
fn eq(&self, other: &TypeOrMethodDef) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for TypeOrMethodDef
impl PartialOrd 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