Add optional sorted listing of file contents

This commit is contained in:
2023-06-15 23:27:21 +02:00
parent 0f584997f7
commit 11b233b642
9 changed files with 68 additions and 8 deletions

View File

@@ -234,6 +234,10 @@ pub trait Listable {
fn to_listed_string(&self) -> String;
}
pub trait Sortable {
fn sorting_key(&self) -> String;
}
pub trait FormEntry {
fn get_name(&self) -> String;
fn get_type(&self) -> String;