Skip to main content

ExpressionMap

Trait ExpressionMap 

Source
pub trait ExpressionMap<From> {
    // Required method
    fn map<To>(self) -> Expression<To>
       where From: Into<To> + Send + Clone + 'static,
             To: Send + 'static;
}
Expand description

Extension trait to add map method directly to Expression

Required Methods§

Source

fn map<To>(self) -> Expression<To>
where From: Into<To> + Send + Clone + 'static, To: Send + 'static,

Map this expression to a different type

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§

Source§

impl<From> ExpressionMap<From> for Expression<From>