Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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_square
Method · 0.80
size
Method · 0.80
area
Method · 0.80
from
Method · 0.80
GetBoundingRectangles
Method · 0.80
BoundingRectangle
Method · 0.80
to_cg_rect
Function · 0.80
to_ns_rect
Function · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected