pub enum RustTypeConstraint {
Index(RustType, RustType),
IndexMut(RustType, RustType),
}Variants§
Index(RustType, RustType)
Index(T1, T2) represents Index<T1, Output=T2>
IndexMut(RustType, RustType)
IndexMut(T1, T2) represents IndexMut<T1, Output=T2>
Trait Implementations§
Source§impl Clone for RustTypeConstraint
impl Clone for RustTypeConstraint
Source§fn clone(&self) -> RustTypeConstraint
fn clone(&self) -> RustTypeConstraint
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 RustTypeConstraint
impl Debug for RustTypeConstraint
Source§impl Display for RustTypeConstraint
impl Display for RustTypeConstraint
Source§impl From<TypeParamBound> for RustTypeConstraint
impl From<TypeParamBound> for RustTypeConstraint
Source§fn from(ty: TypeParamBound) -> Self
fn from(ty: TypeParamBound) -> Self
Converts to this type from the input type.
Source§impl Hash for RustTypeConstraint
impl Hash for RustTypeConstraint
Source§impl Into<TypeParamBound> for RustTypeConstraint
impl Into<TypeParamBound> for RustTypeConstraint
Source§fn into(self) -> TypeParamBound
fn into(self) -> TypeParamBound
Converts this type into the (usually inferred) input type.
Auto Trait Implementations§
impl Freeze for RustTypeConstraint
impl RefUnwindSafe for RustTypeConstraint
impl !Send for RustTypeConstraint
impl !Sync for RustTypeConstraint
impl Unpin for RustTypeConstraint
impl UnwindSafe for RustTypeConstraint
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