pub struct Named<S: Strategy> {
pub label: &'static str,
pub inner: S,
}Expand description
Gives any strategy a different display name (handy for variants).
Fields§
§label: &'static str§inner: SImplementations§
Trait Implementations§
Auto Trait Implementations§
impl<S> Freeze for Named<S>where
S: Freeze,
impl<S> RefUnwindSafe for Named<S>where
S: RefUnwindSafe,
impl<S> Send for Named<S>
impl<S> Sync for Named<S>
impl<S> Unpin for Named<S>where
S: Unpin,
impl<S> UnsafeUnpin for Named<S>where
S: UnsafeUnpin,
impl<S> UnwindSafe for Named<S>where
S: 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