cairo_lang_semantic::resolve

Trait AsSegments

source
pub trait AsSegments {
    // Required method
    fn to_segments(self, db: &dyn SyntaxGroup) -> Vec<PathSegment>;
}
Expand description

A trait for things that can be interpreted as a path of segments.

Required Methods§

Implementations on Foreign Types§

source§

impl AsSegments for &ExprPath

source§

impl AsSegments for Vec<PathSegment>

Implementors§