Struct predicates_core::reflection::Parameter[][src]

pub struct Parameter<'a>(_, _);

A view of a Predicate parameter, provided by reflection.

use predicates_core;

let param = predicates_core::reflection::Parameter::new("key", &10);
println!("{}", param);

Methods

impl<'a> Parameter<'a>
[src]

Create a new Parameter.

Access the Parameter name.

Access the Parameter value.

Trait Implementations

impl<'a> Display for Parameter<'a>
[src]

Formats the value using the given formatter. Read more

impl<'a> Debug for Parameter<'a>
[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations

impl<'a> !Send for Parameter<'a>

impl<'a> !Sync for Parameter<'a>