pub struct UsePathTree {
pub prefix: String,
pub tree: Box<UseTree>,
}Expand description
Prefix-plus-child use tree segment.
Fields§
§prefix: StringLeading path segment.
tree: Box<UseTree>Remaining use tree after the prefix.
Trait Implementations§
Source§impl Clone for UsePathTree
impl Clone for UsePathTree
Source§fn clone(&self) -> UsePathTree
fn clone(&self) -> UsePathTree
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for UsePathTree
impl Debug for UsePathTree
Source§impl PartialEq for UsePathTree
impl PartialEq for UsePathTree
impl Eq for UsePathTree
impl StructuralPartialEq for UsePathTree
Auto Trait Implementations§
impl Freeze for UsePathTree
impl RefUnwindSafe for UsePathTree
impl Send for UsePathTree
impl Sync for UsePathTree
impl Unpin for UsePathTree
impl UnsafeUnpin for UsePathTree
impl UnwindSafe for UsePathTree
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more