[][src]Trait tydi::generator::Typify

pub trait Typify {
    fn canonical(&self, prefix: impl Into<String>) -> Vec<Signal>;

    fn user(&self, _prefix: impl Into<String>) -> Option<Type> { ... }
}

Trait to create common representation types from things in the canonical way and user-friendly way.

Required methods

fn canonical(&self, prefix: impl Into<String>) -> Vec<Signal>

Loading content...

Provided methods

fn user(&self, _prefix: impl Into<String>) -> Option<Type>

Loading content...

Implementors

impl Typify for LogicalStreamType[src]

fn user(&self, prefix: impl Into<String>) -> Option<Type>[src]

This implementation for LogicalStreamType assumes the LogicalStreamType has already been flattened through synthesize.

impl Typify for Group[src]

impl Typify for Stream[src]

fn user(&self, prefix: impl Into<String>) -> Option<Type>[src]

This implementation for Stream assumes the parent LogicalStreamType has already been flattened through synthesize.

fn canonical(&self, prefix: impl Into<String>) -> Vec<Signal>[src]

This implementation for Stream assumes the parent LogicalStreamType has already been flattened through synthesize.

impl Typify for Union[src]

Loading content...