Docs.rs
rust-genai-0.2.0
rust-genai 0.2.0
Permalink
Docs.rs crate page
Apache-2.0
Links
Homepage
Repository
crates.io
Source
Owners
Wangnov
Dependencies
base64 ^0.22
normal
bytes ^1.11
normal
futures-util ^0.3
normal
google-cloud-auth ^1.3
normal
http ^1.4
normal
kitoken ^0.10
normal
optional
memchr ^2.7
normal
mime_guess ^2.0
normal
reqwest ^0.12
normal
rmcp ^0.12
normal
optional
rust-genai-types ^0.2.0
normal
serde ^1.0
normal
serde_json ^1.0
normal
sha2 ^0.10
normal
optional
thiserror ^2.0
normal
tokio ^1.48
normal
tokio-tungstenite ^0.28
normal
criterion ^0.8
dev
tempfile ^3
dev
wiremock ^0.6
dev
Versions
78.05%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
normalize_coordinate
rust_
genai
0.2.0
In rust_
genai::
computer_
use
rust_genai
::
computer_use
Function
normalize_
coordinate
Copy item path
Source
pub fn normalize_coordinate(pixel:
i32
, screen_dimension:
i32
) ->
i32
Expand description
坐标归一化(像素 -> 0-999)。