Trait tract_hir::prelude::ToDim

source ·
pub trait ToDim {
    // Required method
    fn to_dim(&self) -> TDim;
}
Expand description

Convenience trait to convert values to TDim.

Required Methods§

source

fn to_dim(&self) -> TDim

Convert self to a TDim.

Implementors§

source§

impl<'a> ToDim for &'a TDim

source§

impl<I> ToDim for I
where I: Into<TDim> + Clone,