[][src]Enum agda_mode::base::Cohesion

pub enum Cohesion {
    Flat,
    Continuous,
    Sharp,
    Squash,
}

Cohesion modalities see "Brouwer's fixed-point theorem in real-cohesive homotopy type theory" (arXiv:1509.07584) types are now given an additional topological layer which the modalities interact with.

Variants

Flat

Same points, discrete topology, idempotent comonad, box - like.

Continuous

Identity modality.

Sharp

Same points, codiscrete topology, idempotent monad, diamond-like.

Squash

Single point space, artificially added for Flat left-composition.

Trait Implementations

impl Clone for Cohesion[src]

impl Copy for Cohesion[src]

impl Debug for Cohesion[src]

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

impl Eq for Cohesion[src]

impl Hash for Cohesion[src]

impl Ord for Cohesion[src]

impl PartialEq<Cohesion> for Cohesion[src]

impl PartialOrd<Cohesion> for Cohesion[src]

impl StructuralEq for Cohesion[src]

impl StructuralPartialEq for Cohesion[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.