(&mut self, offset: impl Into<Vector2>)
| 48 | /// Sets the floating element's offset. |
| 49 | #[inline] |
| 50 | pub fn offset(&mut self, offset: impl Into<Vector2>) -> &mut Self { |
| 51 | self.config.offset = offset.into(); |
| 52 | self |
| 53 | } |
| 54 | |
| 55 | /// Sets the floating element's Z-index. |
| 56 | #[inline] |
no outgoing calls