pub enum TypeArgumentKind {
Exact,
Extends,
Super,
}Expand description
Kind of a type argument that is not full wildcard.
Variants§
Trait Implementations§
Source§impl Clone for TypeArgumentKind
impl Clone for TypeArgumentKind
impl Copy for TypeArgumentKind
Source§impl Debug for TypeArgumentKind
impl Debug for TypeArgumentKind
Source§impl Default for TypeArgumentKind
impl Default for TypeArgumentKind
impl Eq for TypeArgumentKind
Source§impl Hash for TypeArgumentKind
impl Hash for TypeArgumentKind
Source§impl Ord for TypeArgumentKind
impl Ord for TypeArgumentKind
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
1.21.0 (const: unstable) · Source§fn min(self, other: Self) -> Selfwhere
Self: Sized,
fn min(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the minimum of two values. Read more
Source§impl PartialEq for TypeArgumentKind
impl PartialEq for TypeArgumentKind
Source§impl PartialOrd for TypeArgumentKind
impl PartialOrd for TypeArgumentKind
impl StructuralPartialEq for TypeArgumentKind
Auto Trait Implementations§
impl Freeze for TypeArgumentKind
impl RefUnwindSafe for TypeArgumentKind
impl Send for TypeArgumentKind
impl Sync for TypeArgumentKind
impl Unpin for TypeArgumentKind
impl UnsafeUnpin for TypeArgumentKind
impl UnwindSafe for TypeArgumentKind
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