cairo_lang_semantic::items::us

Function get_use_segments

Source
pub fn get_use_segments(
    db: &dyn SyntaxGroup,
    use_path: &UsePath,
    segments: &mut Vec<PathSegment>,
) -> Maybe<()>
Expand description

Returns the segments of a use path.