pub struct Slot {
pub top: f32,
pub height: f32,
}Expand description
A row’s unscaled place in the column: where it would sit and how tall it is with nothing scaled.
This is the coordinate space the whole module works in. place_row turns
a slot into the transformed rectangle that is actually drawn; the slot
itself never moves because a row shrank.
Fields§
§top: f32§height: f32Implementations§
Trait Implementations§
impl Copy for Slot
impl StructuralPartialEq for Slot
Auto Trait Implementations§
impl Freeze for Slot
impl RefUnwindSafe for Slot
impl Send for Slot
impl Sync for Slot
impl Unpin for Slot
impl UnsafeUnpin for Slot
impl UnwindSafe for Slot
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