tinymist_std::typst::foundations

Trait IntoArgs

pub trait IntoArgs {
    // Required method
    fn into_args(self, fallback: Span) -> Args;
}
Expand description

Things that can be used as arguments.

Required Methods§

fn into_args(self, fallback: Span) -> Args

Convert into arguments, attaching the fallback span in case Self doesn’t have a span.

Implementors§

§

impl IntoArgs for Args

§

impl<I, T> IntoArgs for I
where I: IntoIterator<Item = T>, T: IntoValue,