pub struct Yaf16<const BE: bool = false>(/* private fields */);Available on crate feature
gray only.Expand description
Marker type for the Yaf16 source format (16-bit half-float gray +
alpha, 2 f16/pixel). <const BE: bool> defaults to false (LE).
Packed layout per pixel: [Y(f16), A(f16)]. Alpha is real source
transparency and is passed through to RGBA outputs. Nominal range
[0.0, 1.0]; HDR > 1.0 is permitted and clamped at output.
Implementations§
Trait Implementations§
impl<const BE: bool> Copy for Yaf16<BE>
impl<const BE: bool> Eq for Yaf16<BE>
impl<const BE: bool> SourceFormat for Yaf16<BE>
impl<const BE: bool> StructuralPartialEq for Yaf16<BE>
Auto Trait Implementations§
impl<const BE: bool> Freeze for Yaf16<BE>
impl<const BE: bool> RefUnwindSafe for Yaf16<BE>
impl<const BE: bool> Send for Yaf16<BE>
impl<const BE: bool> Sync for Yaf16<BE>
impl<const BE: bool> Unpin for Yaf16<BE>
impl<const BE: bool> UnsafeUnpin for Yaf16<BE>
impl<const BE: bool> UnwindSafe for Yaf16<BE>
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more