/// Initializes a new point widget with a given label.
Initializes a new point widget with a given label.
Initializes a new point widget with a given label .
pub fn new(point: &'a mut Point, label: impl ToString) -> Self {
        Self {
            label: label.to_string(),
            point,
        }
    }
pub fn new ( point : & ' a mut Point , label : impl ToString ) -> Self { Self { label : label . to_string ( ) , point , } }
Initializes a new point widget with a given label.
Initializes a new point widget with a given label .
point
&'a mut Point
label
impl ToString