Searched refs:pivot (Results 1 – 8 of 8) sorted by relevance
/StarryEngine/starry_toolkit/src/widgets/ |
H A D | label.rs | 33 pivot: Cell<PivotType>, field 54 pivot: Cell::new(PivotType::TopLeft), in new() 120 pub fn set_text_pivot_type(&self, pivot: PivotType) { in set_text_pivot_type() 121 self.text_pivot.set(pivot); in set_text_pivot_type() 142 fn pivot(&self) -> &Cell<PivotType> { in pivot() method 143 &self.pivot in pivot()
|
H A D | image.rs | 21 pivot: Cell<PivotType>, field 47 pivot: Cell::new(PivotType::TopLeft), in new_from_image() 102 fn pivot(&self) -> &Cell<PivotType> { in pivot() method 103 &self.pivot in pivot()
|
H A D | mod.rs | 55 fn pivot(&self) -> &Cell<PivotType>; in pivot() method 108 self.pivot().set(pivot_type); in set_pivot_type_base() 165 self.pivot().get(), in arrange_self_base()
|
/StarryEngine/starry_applications/src/asset_manager/code/ |
H A D | asset_item_list.rs | 22 pivot: Cell<PivotType>, field 40 pivot: Cell::new(PivotType::TopLeft), in new() 99 fn pivot(&self) -> &Cell<PivotType> { in pivot() method 100 &self.pivot in pivot()
|
H A D | asset_item_grid.rs | 27 pivot: Cell<PivotType>, field 46 pivot: Cell::new(PivotType::TopLeft), in new() 104 fn pivot(&self) -> &Cell<PivotType> { in pivot() method 105 &self.pivot in pivot()
|
/StarryEngine/starry_toolkit/src/util/ |
H A D | mod.rs | 21 pivot: PivotType, in align_rect() 24 let relative_pos = match pivot { in align_rect() 41 let offset_vec = match pivot { in align_rect()
|
/StarryEngine/starry_toolkit/src/layout/ |
H A D | list.rs | 34 pivot: Cell<PivotType>, field 55 pivot: Cell::new(PivotType::TopLeft), in new() 188 fn pivot(&self) -> &Cell<PivotType> { in pivot() method 189 &self.pivot in pivot()
|
H A D | grid.rs | 29 pivot: Cell<PivotType>, field 65 pivot: Cell::new(PivotType::TopLeft), in new() 259 fn pivot(&self) -> &Cell<PivotType> { in pivot() method 260 &self.pivot in pivot()
|