diff options
author | jelemux <jeremias.weber@protonmail.com> | 2021-01-28 22:24:32 +0100 |
---|---|---|
committer | jelemux <jeremias.weber@protonmail.com> | 2021-01-28 22:24:32 +0100 |
commit | 94a0e361e180223adf2bc9760c8810dfa3c2681f (patch) | |
tree | d29de5300d0ff0ba636f48eca8df43bb5256b49c /src/view/mod.rs | |
parent | 3f0892368bcf475fdae39f24ef51b82b3013535f (diff) | |
download | wasm-card-94a0e361e180223adf2bc9760c8810dfa3c2681f.tar.gz wasm-card-94a0e361e180223adf2bc9760c8810dfa3c2681f.tar.bz2 |
use different vcard library
Diffstat (limited to 'src/view/mod.rs')
-rw-r--r-- | src/view/mod.rs | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/view/mod.rs b/src/view/mod.rs index f208c44..7a64fed 100644 --- a/src/view/mod.rs +++ b/src/view/mod.rs @@ -9,10 +9,7 @@ pub mod name; pub mod address; pub mod telephone; -pub trait VCardPropertyInputComponent<P, T>: Component - where P: vcard::properties::Property, - T: VCardPropertyInputObject<P, Self> -{ +pub trait VCardPropertyInputComponent<T: VCardPropertyInputObject<Self>>: Component { fn get_input_object(&self) -> T; fn get_title(&self) -> String; fn get_error(&self) -> Option<Error>; |