QualifiedPath

Type Alias QualifiedPath 

Source
pub type QualifiedPath = Path<QualifiedName, QualifiedName>;
Expand description

A path whose vertices and edges are qualified names.

Aliased Type§

pub enum QualifiedPath {
    Id(QualifiedName),
    Seq(NonEmpty<QualifiedName>),
}

Variants§

§

Id(QualifiedName)

The identity, or empty, path at a vertex.

§

Seq(NonEmpty<QualifiedName>)

A nontrivial path, comprising a non-empty vector of consecutive edges.

Trait Implementations§

Source§

impl<'__deriveMoreLifetime> TryFrom<&'__deriveMoreLifetime MorType> for &'__deriveMoreLifetime QualifiedPath

Source§

type Error = TryIntoError<&'__deriveMoreLifetime MorType>

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

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

Performs the conversion.
Source§

impl TryFrom<MorType> for QualifiedPath

Source§

type Error = TryIntoError<MorType>

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

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

Performs the conversion.