[−][src]Struct pdf_create::common::NumberTree
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,
T: RefUnwindSafe,
impl<T> Send for NumberTree<T> where
T: Send,
T: Send,
impl<T> Sync for NumberTree<T> where
T: Sync,
T: Sync,
impl<T> Unpin for NumberTree<T>
impl<T> UnwindSafe for NumberTree<T> where
T: RefUnwindSafe,
T: RefUnwindSafe,
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,
pub 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, 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.
pub 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>,