[][src]Enum agda_mode::base::Relevance

pub enum Relevance {
    Relevant,
    NonStrict,
    Irrelevant,
}

A function argument can be relevant or irrelevant. See "Agda.TypeChecking.Irrelevance".

Variants

Relevant

The argument is (possibly) relevant at compile-time.

NonStrict

The argument may never flow into evaluation position. Therefore, it is irrelevant at run-time. It is treated relevantly during equality checking.

Irrelevant

The argument is irrelevant at compile- and runtime.

Trait Implementations

impl Clone for Relevance[src]

impl Copy for Relevance[src]

impl Debug for Relevance[src]

impl<'de> Deserialize<'de> for Relevance[src]

impl Eq for Relevance[src]

impl Hash for Relevance[src]

impl Ord for Relevance[src]

impl PartialEq<Relevance> for Relevance[src]

impl PartialOrd<Relevance> for Relevance[src]

impl StructuralEq for Relevance[src]

impl StructuralPartialEq for Relevance[src]

Auto Trait Implementations

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> DeserializeOwned for T where
    T: for<'de> Deserialize<'de>, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.