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
Auto Trait Implementations§
impl RefUnwindSafe for ComputedNodeLayout
impl Send for ComputedNodeLayout
impl Sync for ComputedNodeLayout
impl Unpin for ComputedNodeLayout
impl UnwindSafe for ComputedNodeLayout
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