#[non_exhaustive]pub struct ResolvedTable<'a> {
pub table: &'a TableLayout,
pub origin_x: f32,
pub origin_y: f32,
}Expand description
The document-space origin of a table’s own coordinate system.
TableLayout::column_xs and row_ys are measured from here, so cell
(r, c) sits at (origin_x + column_xs[c], origin_y + row_ys[r]).
Fields (Non-exhaustive)§
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. } syntax; cannot be matched against without a wildcard ..; and struct update syntax will not work.table: &'a TableLayout§origin_x: f32§origin_y: f32Auto Trait Implementations§
impl<'a> Freeze for ResolvedTable<'a>
impl<'a> RefUnwindSafe for ResolvedTable<'a>
impl<'a> Send for ResolvedTable<'a>
impl<'a> Sync for ResolvedTable<'a>
impl<'a> Unpin for ResolvedTable<'a>
impl<'a> UnsafeUnpin for ResolvedTable<'a>
impl<'a> UnwindSafe for ResolvedTable<'a>
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