pub struct NodeRect {
pub uid: String,
pub rect: [f32; 4],
pub content: [f32; 4],
pub grid: Option<GridRects>,
}Expand description
A laid-out widget: its border box and its content box (inside padding), GUI px.
Fields§
§uid: String§rect: [f32; 4]§content: [f32; 4]§grid: Option<GridRects>A grid’s rows and columns, [start, size] in GUI px (for its adorners).
Trait Implementations§
Auto Trait Implementations§
impl Freeze for NodeRect
impl RefUnwindSafe for NodeRect
impl Send for NodeRect
impl Sync for NodeRect
impl Unpin for NodeRect
impl UnsafeUnpin for NodeRect
impl UnwindSafe for NodeRect
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