Skip to main content

ExpandTo

Trait ExpandTo 

Source
pub trait ExpandTo<T> {
    type ReturnOperand;

    // Required method
    fn expand_to(&self, template: &T) -> Self::ReturnOperand;
}

Required Associated Types§

Required Methods§

Source

fn expand_to(&self, template: &T) -> Self::ReturnOperand

Dyn Compatibility§

This trait is dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety".

Implementors§