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 box

Padding box

Border box

Margin box

Node width

Node height

Shape outside coordinates

Trait Implementations

impl Clone for BoxModel
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl Debug for BoxModel
[src]

[src]

Formats the value using the given formatter.

impl PartialEq for BoxModel
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.