pub struct LayoutBox {
pub r: Ref,
pub x: f64,
pub y: f64,
pub width: f64,
pub height: f64,
pub visible: bool,
pub z_index: i32,
}Expand description
Result of Engine::layout: the computed box for a single ref.
Fields§
§r: Ref§x: f64§y: f64§width: f64§height: f64§visible: bool§z_index: i32Trait Implementations§
impl Copy for LayoutBox
impl StructuralPartialEq for LayoutBox
Auto Trait Implementations§
impl Freeze for LayoutBox
impl RefUnwindSafe for LayoutBox
impl Send for LayoutBox
impl Sync for LayoutBox
impl Unpin for LayoutBox
impl UnsafeUnpin for LayoutBox
impl UnwindSafe for LayoutBox
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