Function elmesque::element::new_element
[−]
[src]
pub fn new_element(w: i32, h: i32, element: Prim) -> Element
Construct a new Element from width, height and some Prim. Iterates the global GUID counter by one and returns that as the Element id.