Skip to main content

ArgumentExt

Trait ArgumentExt 

Source
pub trait ArgumentExt {
    // Required method
    fn to_source(&self) -> String;
}
Expand description

Extension trait for Argument to add source reconstruction

Required Methods§

Source

fn to_source(&self) -> String

Reconstruct the source text for this argument

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§