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§