pub struct Args<Req, Opt, Splat, Trail, Kw, Block> {
pub required: Req,
pub optional: Opt,
pub splat: Splat,
pub trailing: Trail,
pub keywords: Kw,
pub block: Block,
}
Expand description
Arguments returned from scan_args
.
Fields
required: Req
Required arguments.
optional: Opt
Optional arguments.
splat: Splat
The splat argument.
trailing: Trail
Trailing required arguments.
keywords: Kw
Keywords arguments.
block: Block
This block argument.
Auto Trait Implementations
impl<Req, Opt, Splat, Trail, Kw, Block> RefUnwindSafe for Args<Req, Opt, Splat, Trail, Kw, Block>where
Block: RefUnwindSafe,
Kw: RefUnwindSafe,
Opt: RefUnwindSafe,
Req: RefUnwindSafe,
Splat: RefUnwindSafe,
Trail: RefUnwindSafe,
impl<Req, Opt, Splat, Trail, Kw, Block> Send for Args<Req, Opt, Splat, Trail, Kw, Block>where
Block: Send,
Kw: Send,
Opt: Send,
Req: Send,
Splat: Send,
Trail: Send,
impl<Req, Opt, Splat, Trail, Kw, Block> Sync for Args<Req, Opt, Splat, Trail, Kw, Block>where
Block: Sync,
Kw: Sync,
Opt: Sync,
Req: Sync,
Splat: Sync,
Trail: Sync,
impl<Req, Opt, Splat, Trail, Kw, Block> Unpin for Args<Req, Opt, Splat, Trail, Kw, Block>where
Block: Unpin,
Kw: Unpin,
Opt: Unpin,
Req: Unpin,
Splat: Unpin,
Trail: Unpin,
impl<Req, Opt, Splat, Trail, Kw, Block> UnwindSafe for Args<Req, Opt, Splat, Trail, Kw, Block>where
Block: UnwindSafe,
Kw: UnwindSafe,
Opt: UnwindSafe,
Req: UnwindSafe,
Splat: UnwindSafe,
Trail: 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