Skip to main content
clamp
agentmux_
srv
0.60.54
In agentmux_
srv::
server::
streamed_
browser::
screen::
randr
agentmux_srv
::
server
::
streamed_browser
::
screen
::
randr
Function
clamp
Copy item path
Source
pub fn clamp(w:
u32
, h:
u32
) -> (
u16
,
u16
)
Expand description
A size asked for, cut to what a screen can be.