Skip to main content

CppValue

Trait CppValue 

Source
pub trait CppValue {
    // Required methods
    fn name(&self, ctx: &Context) -> Identifier;
    fn fmt_left(&self, ctx: &Context) -> String;
}

Required Methods§

Source

fn name(&self, ctx: &Context) -> Identifier

Source

fn fmt_left(&self, ctx: &Context) -> String

Dyn Compatibility§

This trait is dyn compatible.

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

Implementations on Foreign Types§

Source§

impl CppValue for Value

Source§

fn name(&self, ctx: &Context) -> Identifier

Source§

fn fmt_left(&self, ctx: &Context) -> String

Implementors§