pub struct GridLines {
pub rows: Vec<(f32, f32)>,
pub cols: Vec<(f32, f32)>,
/* private fields */
}Expand description
Where a grid’s rows and columns ended up — for drawing grid lines and designer adorners.
Fields§
§rows: Vec<(f32, f32)>Each row’s top (absolute, scrolled like the children) and height.
cols: Vec<(f32, f32)>Each column’s left (absolute) and width.
Trait Implementations§
impl StructuralPartialEq for GridLines
Auto Trait Implementations§
impl Freeze for GridLines
impl RefUnwindSafe for GridLines
impl Send for GridLines
impl Sync for GridLines
impl Unpin for GridLines
impl UnsafeUnpin for GridLines
impl UnwindSafe for GridLines
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