[−][src]Struct arborist::Tree
Methods
impl Tree
[src]
pub fn new() -> Self
[src]
pub fn from_map(map: BTreeMap<K, V>) -> Self
[src]
pub fn get(&self, key: &K) -> Option<&V>
[src]
pub fn insert(&mut self, key: K, val: V) -> Option<V>
[src]
pub fn keys(&self) -> HashSet<K>
[src]
pub fn fill_subtree(&mut self, root: K, depth: u32, default: &V)
[src]
pub fn trim(self) -> Self
[src]
pub fn set_root(&mut self, root: K)
[src]
pub fn insert_bytes(&mut self, rooted_at: K, bytes: Vec<u8>)
[src]
Trait Implementations
impl Debug for Tree
[src]
impl Default for Tree
[src]
impl PartialEq<Tree> for Tree
[src]
impl StructuralPartialEq for Tree
[src]
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
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> Same<T> for T
type Output = T
Should always be Self
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,