Home
last modified time | relevance | path

Searched defs:Vector2 (Results 1 – 10 of 10) sorted by relevance

/StarryEngine/starry_toolkit/src/base/ !
H A Dvector2.rs5 pub struct Vector2 { struct
12 impl Vector2 { impl
18 impl Add for Vector2 { implementation
29 impl Sub for Vector2 { implementation
H A Drect.rs27 pub fn top_left_pos(&self) -> Vector2 { in top_left_pos()
31 pub fn top_pos(&self) -> Vector2 { in top_pos()
35 pub fn top_right_pos(&self) -> Vector2 { in top_right_pos()
39 pub fn left_pos(&self) -> Vector2 { in left_pos()
43 pub fn center_pos(&self) -> Vector2 { in center_pos()
50 pub fn right_pos(&self) -> Vector2 { in right_pos()
54 pub fn bottom_left_pos(&self) -> Vector2 { in bottom_left_pos()
58 pub fn bottom_pos(&self) -> Vector2 { in bottom_pos()
62 pub fn bottom_right_pos(&self) -> Vector2 { in bottom_right_pos()
/StarryEngine/starry_toolkit/src/widgets/ !
H A Dmod.rs58 fn pivot_offset(&self) -> &Cell<Vector2>; in pivot_offset()
112 fn set_pivot_offset(&self, pivot_offset: Vector2) { in set_pivot_offset()
117 fn set_pivot_offset_base(&self, pivot_offset: Vector2) { in set_pivot_offset_base()
H A Dlabel.rs146 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset()
209 fn set_pivot_offset(&self, pivot_offset: Vector2) { in set_pivot_offset()
H A Dimage.rs106 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset()
/StarryEngine/starry_toolkit/src/util/ !
H A Dmod.rs22 pivot_offset: Vector2, in align_rect()
/StarryEngine/starry_applications/src/asset_manager/code/ !
H A Dasset_item_list.rs103 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset()
H A Dasset_item_grid.rs108 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset()
/StarryEngine/starry_toolkit/src/layout/ !
H A Dlist.rs192 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset()
H A Dgrid.rs263 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset()