1 2 3 4 5 6 7 8 9 10 11 12 13
use super::*; impl Default for Text { fn default() -> Self { Self { hint: "".to_string(), value: "".to_string() } } } impl PartialEq for Text { fn eq(&self, other: &Self) -> bool { self.value.eq(&other.value) } }