Home
last modified time | relevance | path

Searched defs:new (Results 1 – 23 of 23) sorted by relevance

/StarryEngine/starry_toolkit/src/base/
H A Dvector2.rs13 pub fn new(x: i32, y: i32) -> Self { in new() method
H A Drect.rs17 pub fn new(x: i32, y: i32, width: u32, height: u32) -> Rect { in new() method
H A Dpanel.rs42 pub fn new(window: &'a mut Window) -> Self { in new() method
103 pub fn new(rect: Rect, title: &str, color: Color) -> Arc<Panel> { in new() method
/StarryEngine/starry_server/src/core/input/
H A Dinputs.rs56 pub fn new() -> Box<MouseInputHandler> { in new() method
138 pub fn new() -> Box<KeyboardInputHandler> { in new() method
H A Dmod.rs26 pub fn new() { in new() method
/StarryEngine/starry_server/src/base/
H A Ddisplay.rs20 pub fn new(x: i32, y: i32, width: i32, height: i32) -> Self { in new() method
H A Dwindow.rs50 pub fn new(x: i32, y: i32, _w: i32, _h: i32, scale: i32, image_path: &[u8]) -> Window { in new() method
H A Drect.rs19 pub fn new(x: i32, y: i32, w: i32, h: i32) -> Rect { in new() method
H A Dimage.rs245 pub fn new(width: i32, height: i32) -> Self { in new() method
/StarryEngine/starry_server/src/core/
H A Dmod.rs43 pub fn new(config: Arc<Config>, displays: Vec<Display>) { in new() method
H A Dcompositor.rs35 pub fn new() { in new() method
H A Dwindow_manager.rs76 pub fn new() { in new() method
/StarryEngine/starry_client/src/base/
H A Devent.rs36 pub fn new() -> Event { in new() method
129 pub fn new(byte: u8) -> Self { in new() method
H A Dgraphicspath.rs19 pub fn new() -> GraphicsPath { in new() method
H A Drenderer.rs201 let new = image_data[i].data; in image_fast() localVariable
/StarryEngine/starry_applications/src/asset_manager/code/
H A Dmod.rs35 pub fn new() -> Self { in new() method
H A Dasset_item_list.rs36 pub fn new(file_name: &str, is_dir: bool) -> Arc<Self> { in new() method
H A Dasset_item_grid.rs42 pub fn new(file_name: &str, is_dir: bool) -> Arc<Self> { in new() method
/StarryEngine/starry_toolkit/src/widgets/
H A Dimage.rs31 pub fn new(width: u32, height: u32) -> Arc<Self> { in new() method
H A Dlabel.rs51 pub fn new() -> Arc<Self> { in new() method
/StarryEngine/starry_client/src/
H A Dwindow.rs96 pub fn new(x: i32, y: i32, w: u32, h: u32, title: &str, color: Color) -> Self { in new() method
/StarryEngine/starry_toolkit/src/layout/
H A Dlist.rs51 pub fn new() -> Arc<Self> { in new() method
H A Dgrid.rs61 pub fn new() -> Arc<Self> { in new() method