pub trait AsRefExpand<T: CubeType> {
// Required method
fn __expand_as_ref_method(self, scope: &mut Scope) -> T::ExpandType;
}Required Methods§
Sourcefn __expand_as_ref_method(self, scope: &mut Scope) -> T::ExpandType
fn __expand_as_ref_method(self, scope: &mut Scope) -> T::ExpandType
Converts this type into a shared reference of the (usually inferred) input type.