Docs.rs
epaint-0.28.1
epaint 0.28.1
Docs.rs crate page
(MIT OR Apache-2.0) AND OFL-1.1 AND LicenseRef-UFL-1.0
Links
Homepage
Repository
crates.io
Source
Owners
emilk
rerunio
Dependencies
ab_glyph ^0.2.11
normal
ahash ^0.8.11
normal
bytemuck ^1.7.2
normal
optional
document-features ^0.2.8
normal
optional
ecolor ^0.28.1
normal
emath ^0.28.1
normal
log ^0.4
normal
optional
nohash-hasher ^0.2
normal
parking_lot ^0.12
normal
puffin ^0.19
normal
optional
rayon ^1.7
normal
optional
serde ^1
normal
optional
criterion ^0.5.1
dev
backtrace ^0.3
normal
optional
Versions
70.05%
of the crate is documented
Go to latest version
Platform
i686-pc-windows-msvc
i686-unknown-linux-gnu
x86_64-apple-darwin
x86_64-pc-windows-msvc
x86_64-unknown-linux-gnu
Feature flags
Rust
About docs.rs
Privacy policy
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
epaint
0.28.1
Function
epaint
::
vec2
Copy item path
source
ยท
[
−
]
pub const fn vec2(x:
f32
, y:
f32
) ->
Vec2
Expand description
vec2(x, y) == Vec2::new(x, y)