Struct ra_ap_syntax::ast::UseTree [−][src]
pub struct UseTree { /* fields omitted */ }
Implementations
Splits off the given prefix, making it the path component of the use tree, appending the rest of the path to all UseTreeList items.
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for UseTree
impl !UnwindSafe for UseTree
Blanket Implementations
fn replace_children(
&self,
to_replace: RangeInclusive<SyntaxElement>,
to_insert: impl IntoIterator<Item = SyntaxElement>
) -> Self
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.