Skip to main content

DynExpr

Trait DynExpr 

Source
pub trait DynExpr:
    Debug
    + Send
    + Sync {
    // Required method
    fn render_dyn(&self, buf: &mut String);
}
Expand description

A type-erased expression that can render itself into a SurrealQL buffer. Implemented by every expression node; the common currency of the builder.

Required Methods§

Source

fn render_dyn(&self, buf: &mut String)

Append this expression’s SurrealQL to buf.

Trait Implementations§

Source§

impl DynExpr for Box<dyn DynExpr>

Source§

fn render_dyn(&self, buf: &mut String)

Append this expression’s SurrealQL to buf.

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl DynExpr for Box<dyn DynExpr>

Source§

fn render_dyn(&self, buf: &mut String)

Implementors§