Associated types
Hi there,
Is there any plan to support traits with Associated types
?
For example,
pub trait Exec {
type Output;
fn get_cmds(self) -> Vec<Output>;
}
Thanks.
Edited by kennychen
Hi there,
Is there any plan to support traits with Associated types
?
For example,
pub trait Exec {
type Output;
fn get_cmds(self) -> Vec<Output>;
}
Thanks.