1 2 3 4 5 6 7 8 9 10 11 12
#[derive(Debug, Clone)] pub struct VDomText { pub value: String, } impl VDomText { pub fn new<T: Into<String>>(value: T) -> VDomText { VDomText { value: value.into() } } }
1 2 3 4 5 6 7 8 9 10 11 12
#[derive(Debug, Clone)] pub struct VDomText { pub value: String, } impl VDomText { pub fn new<T: Into<String>>(value: T) -> VDomText { VDomText { value: value.into() } } }