pub fn new(name: &str) -> Self {
        Self {
            name: name.to_string(),
            style: None,
            value: "".to_string(),
        }
    }
/// Creates a new segment with default fields.
Creates a new segment with default fields.
Creates a new segment with default fields .
pub fn new(name: &str) -> Self {
        Self {
            name: name.to_string(),
            style: None,
            value: "".to_string(),
        }
    }
pub fn new ( name : & str ) -> Self { Self { name : name . to_string ( ) , style : None , value : " " . to_string ( ) , } }
Creates a new segment with default fields.
Creates a new segment with default fields .
name
&str