Skip to main content

Argument

Trait Argument 

Source
pub trait Argument<const CONST: bool> {
    type Value: Value<CONST>;

    // Required methods
    fn name(&self) -> &str;
    fn value(&self) -> &Self::Value;
}

Required Associated Types§

Source

type Value: Value<CONST>

Required Methods§

Source

fn name(&self) -> &str

Source

fn value(&self) -> &Self::Value

Dyn Compatibility§

This trait is dyn compatible.

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

Implementors§