Searched defs:Vector2 (Results 1 – 10 of 10) sorted by relevance
5 pub struct Vector2 { struct12 impl Vector2 { impl18 impl Add for Vector2 { implementation29 impl Sub for Vector2 { implementation
27 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()
58 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()
146 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset()209 fn set_pivot_offset(&self, pivot_offset: Vector2) { in set_pivot_offset()
106 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset()
22 pivot_offset: Vector2, in align_rect()
103 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset()
108 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset()
192 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset()
263 fn pivot_offset(&self) -> &Cell<Vector2> { in pivot_offset()