Trait UsePathBuilder

Source
pub trait UsePathBuilder {
    // Required method
    fn new(ident: impl IntoIdent, tree: impl IntoUseTree) -> Self;
}

Required Methods§

Source

fn new(ident: impl IntoIdent, tree: impl IntoUseTree) -> Self

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl UsePathBuilder for UsePath

Source§

fn new(ident: impl IntoIdent, tree: impl IntoUseTree) -> Self

Implementors§