use alloc::string::ToString;
use crate::shared::generic_configuration::{Direction, Renderer};
pub trait ConfigurationBuilder: Sized {
type Configuration;
type Error;
fn build(self) -> Result<Self::Configuration, Self::Error>;
fn title<S: ToString>(self, title: S) -> Result<Self, Self::Error>;
#[must_use]
fn renderer(self, renderer: Renderer) -> Self;
#[must_use]
fn direction(self, direction: Direction) -> Self;
}