pub enum TypeBindingKind {
Equality {
ty: Type,
},
Constraint {
bounds: Vec<GenericBound>,
},
}Variants§
Trait Implementations§
Source§impl Clone for TypeBindingKind
impl Clone for TypeBindingKind
Source§fn clone(&self) -> TypeBindingKind
fn clone(&self) -> TypeBindingKind
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 TypeBindingKind
impl Debug for TypeBindingKind
Source§impl<'de> Deserialize<'de> for TypeBindingKind
impl<'de> Deserialize<'de> for TypeBindingKind
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl Hash for TypeBindingKind
impl Hash for TypeBindingKind
Source§impl PartialEq for TypeBindingKind
impl PartialEq for TypeBindingKind
impl Eq for TypeBindingKind
impl StructuralPartialEq for TypeBindingKind
Auto Trait Implementations§
impl Freeze for TypeBindingKind
impl RefUnwindSafe for TypeBindingKind
impl Send for TypeBindingKind
impl Sync for TypeBindingKind
impl Unpin for TypeBindingKind
impl UnwindSafe for TypeBindingKind
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