pub trait Arguments<T: ?Sized> {
type PushArg<Head: VarArgs>: VarArgs;
// Required method
fn push_arg<Head: VarArgs>(head: Head, arg: &T) -> Self::PushArg<Head>;
}
Expand description
Implements a list of arguments to a vararg call.
See module level docs for a detailed description on how
Arguments
works and is used.
Required Associated Types§
Sourcetype PushArg<Head: VarArgs>: VarArgs
type PushArg<Head: VarArgs>: VarArgs
Type produced by calling Self::push_arg()
.
Required Methods§
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.