Struct grpc_build::tree::Tree
source · [−]pub struct Tree(_);
Implementations
sourceimpl Tree
impl Tree
sourcepub fn insert_path(&mut self, path: PathBuf)
pub fn insert_path(&mut self, path: PathBuf)
Given a file path that is .
separated, it loads it into the tree.
Trait Implementations
sourceimpl Extend<PathBuf> for Tree
impl Extend<PathBuf> for Tree
sourcefn extend<T: IntoIterator<Item = PathBuf>>(&mut self, iter: T)
fn extend<T: IntoIterator<Item = PathBuf>>(&mut self, iter: T)
Extends a collection with the contents of an iterator. Read more
sourcefn extend_one(&mut self, item: A)
fn extend_one(&mut self, item: A)
🔬 This is a nightly-only experimental API. (
extend_one
)Extends a collection with exactly one element.
sourcefn extend_reserve(&mut self, additional: usize)
fn extend_reserve(&mut self, additional: usize)
🔬 This is a nightly-only experimental API. (
extend_one
)Reserves capacity in a collection for the given number of additional elements. Read more
sourceimpl FromIterator<PathBuf> for Tree
impl FromIterator<PathBuf> for Tree
sourcefn from_iter<T: IntoIterator<Item = PathBuf>>(iter: T) -> Self
fn from_iter<T: IntoIterator<Item = PathBuf>>(iter: T) -> Self
Creates a value from an iterator. Read more
impl StructuralPartialEq for Tree
Auto Trait Implementations
impl RefUnwindSafe for Tree
impl Send for Tree
impl Sync for Tree
impl Unpin for Tree
impl UnwindSafe for Tree
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more