MCPcopy Create free account
hub / github.com/AccessKit/accesskit / width

Method width

common/src/geometry.rs:442–444  ·  view source on GitHub ↗
(&self)

Source from the content-addressed store, hash-verified

440 /// Note: nothing forbids negative width.
441 #[inline]
442 pub fn width(&self) -> f64 {
443 self.x1 - self.x0
444 }
445
446 /// The height of the rectangle.
447 ///

Callers 8

map_unit_squareMethod · 0.80
sizeMethod · 0.80
areaMethod · 0.80
fromMethod · 0.80
GetBoundingRectanglesMethod · 0.80
BoundingRectangleMethod · 0.80
to_cg_rectFunction · 0.80
to_ns_rectFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected