Trait ruast::Castable

source ·
pub trait Castable {
    // Required method
    fn cast(self, ty: impl Into<Type>) -> Cast;
}

Required Methods§

source

fn cast(self, ty: impl Into<Type>) -> Cast

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<E: Into<Expr>> Castable for E