[][src]Struct pdf_create::common::NumberTree

pub struct NumberTree<T> { /* fields omitted */ }

A tree of numbers

Implementations

impl<T> NumberTree<T>[src]

pub fn new() -> Self[src]

Creates a new tree

pub fn is_empty(&self) -> bool[src]

Checks whether the tree is empty

pub fn insert(&mut self, key: usize, value: T) -> Option<T>[src]

Inserts a node into the tree

Trait Implementations

impl<T> Default for NumberTree<T>[src]

impl<T> From<BTreeMap<usize, T>> for NumberTree<T>[src]

impl<T: Serialize> Serialize for NumberTree<T>[src]

Auto Trait Implementations

impl<T> RefUnwindSafe for NumberTree<T> where
    T: RefUnwindSafe

impl<T> Send for NumberTree<T> where
    T: Send

impl<T> Sync for NumberTree<T> where
    T: Sync

impl<T> Unpin for NumberTree<T>

impl<T> UnwindSafe for NumberTree<T> where
    T: RefUnwindSafe

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.