pub struct FnArgType<T: TypeMark> {
pub label: Option<(ArcStr, bool)>,
pub typ: Type<T>,
}
Fields§
§label: Option<(ArcStr, bool)>
§typ: Type<T>
Trait Implementations§
Source§impl<T: Ord + TypeMark> Ord for FnArgType<T>
impl<T: Ord + TypeMark> Ord for FnArgType<T>
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<T: PartialOrd + TypeMark> PartialOrd for FnArgType<T>
impl<T: PartialOrd + TypeMark> PartialOrd for FnArgType<T>
impl<T: Eq + TypeMark> Eq for FnArgType<T>
impl<T: TypeMark> StructuralPartialEq for FnArgType<T>
Auto Trait Implementations§
impl<T> Freeze for FnArgType<T>
impl<T> !RefUnwindSafe for FnArgType<T>
impl<T> Send for FnArgType<T>
impl<T> Sync for FnArgType<T>
impl<T> Unpin for FnArgType<T>where
T: Unpin,
impl<T> !UnwindSafe for FnArgType<T>
Blanket Implementations§
Source§impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedExplicit<'a, E> for Twhere
T: 'a,
Source§impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
impl<'a, T, E> AsTaggedImplicit<'a, E> for Twhere
T: 'a,
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Comparable<K> for Q
impl<Q, K> Comparable<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.