[−][src]Enum lark_ty::GenericKind
An enum that lists out the various "kinds" of generic arguments (currently only types) and a distinct type of value for each kind.
Variants
Ty(T)
Methods
impl<T> GenericKind<T>
[src]
Trait Implementations
impl<T: Clone> Clone for GenericKind<T>
[src]
fn clone(&self) -> GenericKind<T>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more
impl<T: Eq> Eq for GenericKind<T>
[src]
impl<F> Extend<GenericKind<Ty<F>>> for Generics<F> where
F: TypeFamily,
[src]
F: TypeFamily,
Append items to this generics, cloning if it is shared with others. (Generics are effectively a simple persistent vector.)
fn extend<T>(&mut self, iter: T) where
T: IntoIterator<Item = Generic<F>>,
[src]
T: IntoIterator<Item = Generic<F>>,
impl<T: Copy> Copy for GenericKind<T>
[src]
impl<T: PartialEq> PartialEq<GenericKind<T>> for GenericKind<T>
[src]
fn eq(&self, other: &GenericKind<T>) -> bool
[src]
fn ne(&self, other: &GenericKind<T>) -> bool
[src]
impl<T: Hash> Hash for GenericKind<T>
[src]
fn hash<__HT: Hasher>(&self, state: &mut __HT)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<F: TypeFamily> FromIterator<GenericKind<Ty<F>>> for Generics<F>
[src]
fn from_iter<T>(iter: T) -> Self where
T: IntoIterator<Item = Generic<F>>,
[src]
T: IntoIterator<Item = Generic<F>>,
impl<T: Debug> Debug for GenericKind<T>
[src]
impl<T: DebugWith> DebugWith for GenericKind<T>
[src]
fn fmt_with<Cx: ?Sized>(&self, cx: &Cx, fmt: &mut Formatter) -> Result
[src]
fn debug_with<Cx>(&'me self, cx: &'me Cx) -> DebugCxPair<'me, &'me Self, Cx> where
Cx: ?Sized,
[src]
Cx: ?Sized,
fn into_debug_with<Cx>(self, cx: &'me Cx) -> DebugCxPair<'me, Self, Cx> where
Cx: ?Sized,
[src]
Cx: ?Sized,
Auto Trait Implementations
impl<T> Send for GenericKind<T> where
T: Send,
T: Send,
impl<T> Sync for GenericKind<T> where
T: Sync,
T: Sync,
Blanket Implementations
impl<T> From for T
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
impl<T, U> TryFrom for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<Q, K> Equivalent for Q where
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
[src]
K: Borrow<Q> + ?Sized,
Q: Eq + ?Sized,
fn equivalent(&self, key: &K) -> bool
[src]
impl<Cx, T> FmtWithSpecialized for T where
Cx: ?Sized,
T: Debug + ?Sized,
[src]
Cx: ?Sized,
T: Debug + ?Sized,