ModalObType

Type Alias ModalObType 

Source
pub type ModalObType = ModalType;
Expand description

An object type in a modal double theory.

Aliased Type§

pub struct ModalObType {
    pub arg: QualifiedName,
    pub modalities: Vec<Modality>,
}

Fields§

§arg: QualifiedName

Argument to which the modalities are applied.

§modalities: Vec<Modality>

List of modalities applied (from left to right).

Trait Implementations§

Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime ObType> for &'__deriveMoreLifetime ModalObType

Source§

type Error = TryIntoError<&'__deriveMoreLifetime ObType>

The type returned in the event of a conversion error.
Source§

fn try_from( value: &'__deriveMoreLifetime ObType, ) -> Result<Self, TryIntoError<&'__deriveMoreLifetime ObType>>

Performs the conversion.
Source§

impl TryFrom<ObType> for ModalObType

Source§

type Error = TryIntoError<ObType>

The type returned in the event of a conversion error.
Source§

fn try_from(value: ObType) -> Result<Self, TryIntoError<ObType>>

Performs the conversion.