[−][src]Struct bimap_plus_map::BiMapPlusMap
Implementations
impl<L, R, V> BiMapPlusMap<L, R, V> where
L: Debug + Eq + Hash + Clone,
R: Debug + Eq + Hash,
[src]
L: Debug + Eq + Hash + Clone,
R: Debug + Eq + Hash,
pub fn new() -> Self
[src]
pub fn insert(&mut self, left: L, right: R, value: V)
[src]
pub fn bimap_get_by_left(&self, left: &L) -> Option<&R>
[src]
pub fn bimap_get_by_right(&self, right: &R) -> Option<&L>
[src]
pub fn hashmap_get_by_left(&self, left: &L) -> Option<&V>
[src]
pub fn hashmap_get_by_right(&self, right: &R) -> Option<&V>
[src]
Trait Implementations
impl<L: Clone, R: Clone, V: Clone> Clone for BiMapPlusMap<L, R, V> where
L: Debug + Eq + Hash,
R: Debug + Eq + Hash,
[src]
L: Debug + Eq + Hash,
R: Debug + Eq + Hash,
fn clone(&self) -> BiMapPlusMap<L, R, V>
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl<L: Debug, R: Debug, V: Debug> Debug for BiMapPlusMap<L, R, V> where
L: Debug + Eq + Hash,
R: Debug + Eq + Hash,
[src]
L: Debug + Eq + Hash,
R: Debug + Eq + Hash,
Auto Trait Implementations
impl<L, R, V> !RefUnwindSafe for BiMapPlusMap<L, R, V>
impl<L, R, V> Send for BiMapPlusMap<L, R, V> where
L: Send,
R: Send,
V: Send,
L: Send,
R: Send,
V: Send,
impl<L, R, V> Sync for BiMapPlusMap<L, R, V> where
L: Sync,
R: Sync,
V: Sync,
L: Sync,
R: Sync,
V: Sync,
impl<L, R, V> Unpin for BiMapPlusMap<L, R, V> where
L: Unpin,
V: Unpin,
L: Unpin,
V: Unpin,
impl<L, R, V> UnwindSafe for BiMapPlusMap<L, R, V> where
L: RefUnwindSafe + UnwindSafe,
R: RefUnwindSafe,
V: UnwindSafe,
L: RefUnwindSafe + UnwindSafe,
R: RefUnwindSafe,
V: UnwindSafe,
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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,