pub struct FunctionKeyGenerator<F, Marker> { /* private fields */ }Expand description
A key generator implemented by an Fn
Trait Implementations§
Source§impl<K, Inputs, Marker: 'static, F> KeyGenerator<K, Inputs> for FunctionKeyGenerator<F, Marker>where
    F: FunctionKeygen<K, Inputs, Marker>,
 
impl<K, Inputs, Marker: 'static, F> KeyGenerator<K, Inputs> for FunctionKeyGenerator<F, Marker>where
    F: FunctionKeygen<K, Inputs, Marker>,
Auto Trait Implementations§
impl<F, Marker> Freeze for FunctionKeyGenerator<F, Marker>where
    F: Freeze,
impl<F, Marker> RefUnwindSafe for FunctionKeyGenerator<F, Marker>where
    F: RefUnwindSafe,
    Marker: RefUnwindSafe,
impl<F, Marker> Send for FunctionKeyGenerator<F, Marker>
impl<F, Marker> Sync for FunctionKeyGenerator<F, Marker>
impl<F, Marker> Unpin for FunctionKeyGenerator<F, Marker>
impl<F, Marker> UnwindSafe for FunctionKeyGenerator<F, Marker>where
    F: UnwindSafe,
    Marker: UnwindSafe,
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
 
impl<T> BorrowMut<T> for Twhere
    T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
 
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more