pub trait ShellVars {
// Required method
fn write_to_shell<W: Write>(&self, out: &ShellWriter<W>);
}
Expand description
An object that can be written as a group of shell variables.
Required Methods§
Sourcefn write_to_shell<W: Write>(&self, out: &ShellWriter<W>)
fn write_to_shell<W: Write>(&self, out: &ShellWriter<W>)
Write self
to the shell writer out
.
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.