pub struct KwArgs<Req, Opt, Splat> {
pub required: Req,
pub optional: Opt,
pub splat: Splat,
}
Expand description
Arguments returned from get_kwargs
.
Fields
required: Req
Required arguments.
optional: Opt
Optional arguments.
splat: Splat
The splat argument.
Auto Trait Implementations
impl<Req, Opt, Splat> RefUnwindSafe for KwArgs<Req, Opt, Splat>where
Opt: RefUnwindSafe,
Req: RefUnwindSafe,
Splat: RefUnwindSafe,
impl<Req, Opt, Splat> Send for KwArgs<Req, Opt, Splat>where
Opt: Send,
Req: Send,
Splat: Send,
impl<Req, Opt, Splat> Sync for KwArgs<Req, Opt, Splat>where
Opt: Sync,
Req: Sync,
Splat: Sync,
impl<Req, Opt, Splat> Unpin for KwArgs<Req, Opt, Splat>where
Opt: Unpin,
Req: Unpin,
Splat: Unpin,
impl<Req, Opt, Splat> UnwindSafe for KwArgs<Req, Opt, Splat>where
Opt: UnwindSafe,
Req: UnwindSafe,
Splat: UnwindSafe,
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more