pub struct LayoutPosition {
pub x: i32,
pub y: i32,
}Expand description
This is a structure that describes the position of a Widget within its Layout. X and
Y coordinates are not given as physical positions on the screen, rather, their position in the
Layout matrix.
Fields§
§x: i32§y: i32Implementations§
Auto Trait Implementations§
impl Freeze for LayoutPosition
impl RefUnwindSafe for LayoutPosition
impl Send for LayoutPosition
impl Sync for LayoutPosition
impl Unpin for LayoutPosition
impl UnwindSafe for LayoutPosition
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more