#[non_exhaustive]pub struct FrameLayout {Show 15 fields
pub frame_id: usize,
pub y: f32,
pub x: f32,
pub total_width: f32,
pub total_height: f32,
pub content_x: f32,
pub content_y: f32,
pub content_width: f32,
pub content_height: f32,
pub blocks: Vec<BlockLayout>,
pub tables: Vec<TableLayout>,
pub frames: Vec<FrameLayout>,
pub flow_order: Vec<FrameChildRef>,
pub border_width: f32,
pub border_style: FrameBorderStyle,
}Expand description
Computed layout for a frame.
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.frame_id: usize§y: f32§x: f32§total_width: f32§total_height: f32§content_x: f32§content_y: f32§content_width: f32§content_height: f32§blocks: Vec<BlockLayout>§tables: Vec<TableLayout>§frames: Vec<FrameLayout>§flow_order: Vec<FrameChildRef>Direct children in document (flow) order — see FrameChildRef.
border_width: f32§border_style: FrameBorderStyleAuto Trait Implementations§
impl Forget for FrameLayout
impl Freeze for FrameLayout
impl Move for FrameLayout
impl RefUnwindSafe for FrameLayout
impl Send for FrameLayout
impl Sync for FrameLayout
impl Unpin for FrameLayout
impl UnsafeUnpin for FrameLayout
impl UnwindSafe for FrameLayout
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