struct TreeIndexMap {
id_to_index: HashMap<TreeId, TreeIndex>,
index_to_id: HashMap<TreeIndex, TreeId>,
next: u32,
}Fields§
§id_to_index: HashMap<TreeId, TreeIndex>§index_to_id: HashMap<TreeIndex, TreeId>§next: u32Implementations§
Trait Implementations§
Source§impl Clone for TreeIndexMap
impl Clone for TreeIndexMap
Source§fn clone(&self) -> TreeIndexMap
fn clone(&self) -> TreeIndexMap
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 TreeIndexMap
impl Debug for TreeIndexMap
Source§impl Default for TreeIndexMap
impl Default for TreeIndexMap
Source§fn default() -> TreeIndexMap
fn default() -> TreeIndexMap
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for TreeIndexMap
impl RefUnwindSafe for TreeIndexMap
impl Send for TreeIndexMap
impl Sync for TreeIndexMap
impl Unpin for TreeIndexMap
impl UnwindSafe for TreeIndexMap
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