Docs.rs
servo-pixels-0.1.0
servo-pixels 0.1.0
Docs.rs crate page
MPL-2.0
Links
Repository
crates.io
Source
Owners
jdm
sagudev
jschwe
mrobinson
Dependencies
euclid ^0.22
normal
image ^0.25
normal
log ^0.4.29
normal
servo-malloc-size-of ^0.1.0
normal
malloc_size_of_derive ^0.1
normal
serde ^1.0.228
normal
servo-base ^0.1.0
normal
webrender_api ^0.68
normal
criterion ^0.5
dev
Versions
31.96%
of the crate is documented
Platform
i686-pc-windows-msvc
x86_64-pc-windows-msvc
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
clip
pixels
0.1.0
pixels
Function
clip
Copy item path
Source
pub fn clip( origin:
Point2D
<
i32
>, size:
Size2D
<
u32
>, surface:
Size2D
<
u32
>, ) ->
Option
<
Rect
<
u32
>>