added inputs components and created page for fifth lab

This commit is contained in:
2024-03-17 21:34:12 +04:00
parent 5bd783b75b
commit 5687d6773a
11 changed files with 359 additions and 168 deletions

View File

@@ -0,0 +1,17 @@
pub trait Product<B, T> {
fn builder() -> B;
fn get(self) -> T;
}
pub trait Builder<T, I, P> {
fn build(&self, build_arg: P) -> T;
fn append_item(self, item: I) -> Self;
fn append_items(self, items: Vec<I>) -> Self;
}