[−][src]Enum kontroli::Intro
The way we introduce a new name.
Variants
Implementations
impl Intro<Box<Term>, Box<Term>>
[src]
pub fn parametrise(self, args: Vec<Arg>) -> Self
[src]
impl Intro<Box<Term>, Box<Term>>
[src]
impl<Ty, Tm> Intro<Ty, Tm>
[src]
pub fn map_type<F, U>(self, f: F) -> Intro<U, Tm> where
F: FnOnce(Ty) -> U,
[src]
F: FnOnce(Ty) -> U,
pub fn map_term<F, U>(self, f: F) -> Intro<Ty, U> where
F: FnOnce(Tm) -> U,
[src]
F: FnOnce(Tm) -> U,
pub fn map_type_err<F, U, E>(self, f: F) -> Result<Intro<U, Tm>, E> where
F: FnOnce(Ty) -> Result<U, E>,
[src]
F: FnOnce(Ty) -> Result<U, E>,
pub fn map_term_err<F, U, E>(self, f: F) -> Result<Intro<Ty, U>, E> where
F: FnOnce(Tm) -> Result<U, E>,
[src]
F: FnOnce(Tm) -> Result<U, E>,
Trait Implementations
impl<Ty: Clone, Tm: Clone> Clone for Intro<Ty, Tm>
[src]
impl<Ty: Debug, Tm: Debug> Debug for Intro<Ty, Tm>
[src]
impl<Ty: Display, Tm: Display> Display for Intro<Ty, Tm>
[src]
impl<'s> From<Intro<RTerm<'s>, RTerm<'s>>> for Intro<'s>
[src]
impl<'s> From<Intro<RTerm<'s>, RTerm<'s>>> for Intro<'s>
[src]
Auto Trait Implementations
impl<Ty, Tm> RefUnwindSafe for Intro<Ty, Tm> where
Tm: RefUnwindSafe,
Ty: RefUnwindSafe,
Tm: RefUnwindSafe,
Ty: RefUnwindSafe,
impl<Ty, Tm> Send for Intro<Ty, Tm> where
Tm: Send,
Ty: Send,
Tm: Send,
Ty: Send,
impl<Ty, Tm> Sync for Intro<Ty, Tm> where
Tm: Sync,
Ty: Sync,
Tm: Sync,
Ty: Sync,
impl<Ty, Tm> Unpin for Intro<Ty, Tm> where
Tm: Unpin,
Ty: Unpin,
Tm: Unpin,
Ty: Unpin,
impl<Ty, Tm> UnwindSafe for Intro<Ty, Tm> where
Tm: UnwindSafe,
Ty: UnwindSafe,
Tm: UnwindSafe,
Ty: UnwindSafe,
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T> ToString for T where
T: Display + ?Sized,
[src]
T: Display + ?Sized,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
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, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,