Skip to main content

TypedQuestion

Trait TypedQuestion 

Source
pub trait TypedQuestion: Clone + Into<Question> {
    type Output: AnswerType;
}
Expand description

A question whose output has a statically known type.

Required Associated Types§

Source

type Output: AnswerType

Type of a decided answer.

Dyn Compatibility§

This trait is not dyn compatible.

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

Implementors§