[][src]Struct mulberry::Tree

pub struct Tree<K, T> { /* fields omitted */ }

Implementations

impl<K, T> Tree<K, T>[src]

pub fn new() -> Self[src]

impl<K: Eq + Hash + Clone, T: Group + Clone> Tree<K, T>[src]

pub fn has_frame(&self, key: &K) -> bool[src]

pub fn set_transform(&mut self, transform: T, from_key: K, to_key: K)[src]

pub fn can_transform(&self, from_key: K, to_key: K) -> bool[src]

pub fn get_path(&self, from_key: K, to_key: K) -> Option<Vec<K>>[src]

pub fn get_transform(&self, from_key: K, to_key: K) -> Option<T>[src]

Trait Implementations

impl<K: Clone, T: Clone> Clone for Tree<K, T>[src]

impl<K: Debug, T: Debug> Debug for Tree<K, T>[src]

impl<K, T> Default for Tree<K, T>[src]

Auto Trait Implementations

impl<K, T> RefUnwindSafe for Tree<K, T> where
    K: RefUnwindSafe,
    T: RefUnwindSafe

impl<K, T> Send for Tree<K, T> where
    K: Send,
    T: Send

impl<K, T> Sync for Tree<K, T> where
    K: Sync,
    T: Sync

impl<K, T> Unpin for Tree<K, T> where
    K: Unpin,
    T: Unpin

impl<K, T> UnwindSafe for Tree<K, T> where
    K: UnwindSafe,
    T: UnwindSafe

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> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

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.