Closed MarijnS95 closed 10 months ago
Note that I ran into various upstream doc issues while porting them to Rust:
https://github.com/android/ndk/issues/1933 https://issuetracker.google.com/issues/300602767
Will have to do another pass based on upstream fixes.
The
DataSpace
type represents typical named color spaces, where each value is a bitmask comprising of a standard, transfer function, and range value. All are implemented asenum
s withTryFromPrimitive
to make it obvious to see and handle unknown values, and include#[non_exhaustive]
to allow us to bind new values in future non-breaking patch releases.