Struct cdp::dom::BoxModel
[−]
[src]
pub struct BoxModel { pub content: Quad, pub padding: Quad, pub border: Quad, pub margin: Quad, pub width: i32, pub height: i32, pub shape_outside: Option<ShapeOutsideInfo>, }
[Experimental] Box model.
Fields
content: Quad
Content box
padding: Quad
Padding box
border: Quad
Border box
margin: Quad
Margin box
width: i32
Node width
height: i32
Node height
shape_outside: Option<ShapeOutsideInfo>
Shape outside coordinates
Trait Implementations
impl Clone for BoxModel
[src]
fn clone(&self) -> BoxModel
[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
Performs copy-assignment from source
. Read more