use std::borrow::Cow;
pub trait EguiValidationReport {
type FieldPath<'a>: Clone;
type Errors;
fn get_field_error(&self, field: Self::FieldPath<'_>) -> Option<Cow<'static, str>>;
fn has_errors(&self) -> bool;
fn error_count(&self) -> usize;
fn get_errors(&self) -> Option<&Self::Errors>;
}
pub trait IntoFieldPath<T> {
fn into_field_path(self) -> T;
}