Struct devtools_traits::ComputedNodeLayout
source · pub struct ComputedNodeLayout {Show 19 fields
pub display: String,
pub position: String,
pub zIndex: String,
pub boxSizing: String,
pub autoMargins: AutoMargins,
pub marginTop: String,
pub marginRight: String,
pub marginBottom: String,
pub marginLeft: String,
pub borderTopWidth: String,
pub borderRightWidth: String,
pub borderBottomWidth: String,
pub borderLeftWidth: String,
pub paddingTop: String,
pub paddingRight: String,
pub paddingBottom: String,
pub paddingLeft: String,
pub width: f32,
pub height: f32,
}
Expand description
The properties of a DOM node as computed by layout.
Fields§
§display: String
§position: String
§zIndex: String
§boxSizing: String
§autoMargins: AutoMargins
§marginTop: String
§marginRight: String
§marginBottom: String
§marginLeft: String
§borderTopWidth: String
§borderRightWidth: String
§borderBottomWidth: String
§borderLeftWidth: String
§paddingTop: String
§paddingRight: String
§paddingBottom: String
§paddingLeft: String
§width: f32
§height: f32
Trait Implementations§
source§impl Debug for ComputedNodeLayout
impl Debug for ComputedNodeLayout
source§impl<'de> Deserialize<'de> for ComputedNodeLayout
impl<'de> Deserialize<'de> for ComputedNodeLayout
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more