Trait glsl_lang::parse::Extractable
source · pub trait Extractable<R>: Sized {
// Required methods
fn wrap(source: &str) -> Cow<'_, str>;
fn extract(tu: R) -> Option<Self>;
}
Expand description
Part of the syntax tree that can be extracted from a parent tree
Required Methods§
Object Safety§
This trait is not object safe.