AsRefExpand

Trait AsRefExpand 

Source
pub trait AsRefExpand<T: CubeType> {
    // Required method
    fn __expand_as_ref_method(self, scope: &mut Scope) -> T::ExpandType;
}

Required Methods§

Source

fn __expand_as_ref_method(self, scope: &mut Scope) -> T::ExpandType

Converts this type into a shared reference of the (usually inferred) input type.

Implementors§