pub struct StaticArg<Arg>(pub PhantomData<Arg>);Tuple Fields§
§0: PhantomData<Arg>Trait Implementations§
Source§impl<Arg> DelegateComponent<StaticArg<Arg>> for Components
impl<Arg> DelegateComponent<StaticArg<Arg>> for Components
type Delegate = ExtractStaticArg
Source§impl<Arg> DelegateComponent<StaticArg<Arg>> for Components
impl<Arg> DelegateComponent<StaticArg<Arg>> for Components
Source§impl<Context, Arg> StringArgExtractor<Context, StaticArg<Arg>> for ExtractStaticArg
impl<Context, Arg> StringArgExtractor<Context, StaticArg<Arg>> for ExtractStaticArg
fn extract_string_arg( _context: &Context, _phantom: PhantomData<StaticArg<Arg>>, ) -> Cow<'_, str>
impl<Arg, __Context__, __Params__> IsProviderFor<StaticArg<Arg>, __Context__, __Params__> for Components
impl<Arg, __Context__, __Params__> IsProviderFor<StaticArg<Arg>, __Context__, __Params__> for Components
impl<Context, Arg> IsProviderFor<StringArgExtractorComponent, Context, StaticArg<Arg>> for ExtractStaticArg
Auto Trait Implementations§
impl<Arg> Freeze for StaticArg<Arg>
impl<Arg> RefUnwindSafe for StaticArg<Arg>where
Arg: RefUnwindSafe,
impl<Arg> Send for StaticArg<Arg>where
Arg: Send,
impl<Arg> Sync for StaticArg<Arg>where
Arg: Sync,
impl<Arg> Unpin for StaticArg<Arg>where
Arg: Unpin,
impl<Arg> UnwindSafe for StaticArg<Arg>where
Arg: 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