Skip to main content

Compilable

Trait Compilable 

Source
pub trait Compilable {
    type T: SourceContainer;

    // Required method
    fn containers(self) -> Vec<Self::T>;
}

Required Associated Types§

Required Methods§

Source

fn containers(self) -> Vec<Self::T>

Implementations on Foreign Types§

Source§

impl Compilable for &str

Source§

type T = SourceCode

Source§

fn containers(self) -> Vec<Self::T>

Source§

impl Compilable for String

Source§

type T = SourceCode

Source§

fn containers(self) -> Vec<Self::T>

Source§

impl<S: SourceContainer> Compilable for Vec<S>

Source§

type T = S

Source§

fn containers(self) -> Vec<Self::T>

Implementors§