nusa 0.1.9

web-frontend features for kagura
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
use std::rc::Rc;

#[derive(Clone)]
pub struct VText {
    pub text: Rc<String>,
}

impl std::fmt::Debug for VText {
    fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result {
        write!(f, "<{}>", self.text.as_str())
    }
}