pub trait FunIdentifierExt {
    fn as_ident_or_type_name(&self) -> Option<&SmolStr>;
    fn as_ident_or_type_name_mut(&mut self) -> Option<&mut SmolStr>;
}
Expand description

Extensions for [glsl_lang::ast::FunIdentifier]

Required Methods

Return the function name as a string reference

Return the function name as a mutable string reference

Implementations on Foreign Types

Implementors