pub trait PackedCallArgs {
const LEN: usize;
// Required method
fn with_packed_args<R>(self, f: impl FnOnce(&[AnyView<'_>]) -> R) -> R;
}Expand description
The arguments of a packed call: a tuple of 0 to 8 PackedCallArg values.
Required Associated Constants§
Required Methods§
Sourcefn with_packed_args<R>(self, f: impl FnOnce(&[AnyView<'_>]) -> R) -> R
fn with_packed_args<R>(self, f: impl FnOnce(&[AnyView<'_>]) -> R) -> R
Call f with the arguments as views, which live until f returns.
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.