[−][src]Struct dominator::RefFn
Methods
impl<A, B, C> RefFn<A, B, C> where
B: ?Sized,
C: Fn(&A) -> &B,
[src]
B: ?Sized,
C: Fn(&A) -> &B,
Trait Implementations
impl<A, C> AsStr for RefFn<A, str, C> where
C: Fn(&A) -> &str,
[src]
C: Fn(&A) -> &str,
impl<'a, A, C> MultiStr for RefFn<A, [&'a str], C> where
C: Fn(&A) -> &[&'a str],
[src]
C: Fn(&A) -> &[&'a str],
Auto Trait Implementations
impl<A, B: ?Sized, C> Send for RefFn<A, B, C> where
A: Send,
B: Send,
C: Send,
A: Send,
B: Send,
C: Send,
impl<A, B: ?Sized, C> Sync for RefFn<A, B, C> where
A: Sync,
B: Sync,
C: Sync,
A: Sync,
B: Sync,
C: Sync,
Blanket Implementations
impl<A> MultiStr for A where
A: AsStr,
[src]
A: AsStr,
fn any<F>(&Self, F) -> bool where
F: FnMut(&str) -> bool,
[src]
F: FnMut(&str) -> bool,
fn each<F>(&self, f: F) where
F: FnMut(&str),
[src]
F: FnMut(&str),
impl<A> OptionStr for A where
A: MultiStr,
[src]
A: MultiStr,
type Output = A
fn into_option(Self) -> Option<A>
[src]
impl<T, U> Into for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From for T
[src]
impl<T, U> TryFrom 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 for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,