Struct polar_core::macros::TestHelper[][src]

pub struct TestHelper<T>(pub T);
Expand description

Special struct which is way more eager at implementing From for a bunch of things, so that in the macros we can use TestHelper<Term>::from and try and convert things as often as possible.

Tuple Fields

0: T

Trait Implementations

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Convert a Value to a parameter. If the value is a symbol, it is used as the parameter name. Otherwise it is assumed to be a specializer.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.