pub struct Extract<T: FromInput>(/* private fields */);Expand description
Generic extractor wrapper — delegates to T::from_input.
Use this in element parameters to extract any FromInput type
without giving it a more specific semantic role like Attr or Fields.
Implementations§
Trait Implementations§
Auto Trait Implementations§
impl<T> Freeze for Extract<T>where
T: Freeze,
impl<T> RefUnwindSafe for Extract<T>where
T: RefUnwindSafe,
impl<T> Send for Extract<T>where
T: Send,
impl<T> Sync for Extract<T>where
T: Sync,
impl<T> Unpin for Extract<T>where
T: Unpin,
impl<T> UnsafeUnpin for Extract<T>where
T: UnsafeUnpin,
impl<T> UnwindSafe for Extract<T>where
T: 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