Struct cop::app::App [−][src]
Application of argument(s) to a head.
Implementations
impl<H, A> App<H, A>
[src]
pub fn new(head: H, args: A) -> Self
[src]
pub fn head(&self) -> &H
[src]
pub fn args(&self) -> &A
[src]
pub fn map_args<B>(self, f: impl FnOnce(A) -> B) -> App<H, B>
[src]
impl<P, C, V: Ord> App<P, Args<Term<C, V>>>
[src]
Trait Implementations
impl<H: Clone, A: Clone> Clone for App<H, A>
[src]
impl<H: Debug, A: Debug> Debug for App<H, A>
[src]
impl<H: Display, A: Display> Display for App<H, A>
[src]
impl<H: Eq, A: Eq> Eq for App<H, A>
[src]
impl<H: Neg<Output = H>, A> Neg for App<H, A>
[src]
impl<H: PartialEq, A: PartialEq> PartialEq<App<H, A>> for App<H, A>
[src]
impl<H, A> StructuralEq for App<H, A>
[src]
impl<H, A> StructuralPartialEq for App<H, A>
[src]
Auto Trait Implementations
impl<H, A> RefUnwindSafe for App<H, A> where
A: RefUnwindSafe,
H: RefUnwindSafe,
A: RefUnwindSafe,
H: RefUnwindSafe,
impl<H, A> Send for App<H, A> where
A: Send,
H: Send,
A: Send,
H: Send,
impl<H, A> Sync for App<H, A> where
A: Sync,
H: Sync,
A: Sync,
H: Sync,
impl<H, A> Unpin for App<H, A> where
A: Unpin,
H: Unpin,
A: Unpin,
H: Unpin,
impl<H, A> UnwindSafe for App<H, A> where
A: UnwindSafe,
H: UnwindSafe,
A: UnwindSafe,
H: 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,
pub 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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub 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.
pub 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>,