pub struct TableHeaderInfo {
pub table_node_index: usize,
pub table_start_y: f32,
pub table_end_y: f32,
pub thead_items: Vec<DisplayListItem>,
pub thead_height: f32,
pub thead_offset_y: f32,
}Expand description
Information about a table that may need header repetition.
Fields§
§table_node_index: usizeThe table’s node index in the layout tree
table_start_y: f32The Y position where the table starts
table_end_y: f32The Y position where the table ends
thead_items: Vec<DisplayListItem>The thead’s display list items (captured during initial render)
thead_height: f32Height of the thead
thead_offset_y: f32The Y position of the thead relative to table start
Trait Implementations§
Source§impl Clone for TableHeaderInfo
impl Clone for TableHeaderInfo
Source§fn clone(&self) -> TableHeaderInfo
fn clone(&self) -> TableHeaderInfo
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for TableHeaderInfo
impl !RefUnwindSafe for TableHeaderInfo
impl Send for TableHeaderInfo
impl Sync for TableHeaderInfo
impl Unpin for TableHeaderInfo
impl !UnwindSafe for TableHeaderInfo
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more