Function spectrusty::video::color_line_offset
source · pub fn color_line_offset<T>(y: T) -> Twhere
T: Copy + From<u16> + Shr<u16, Output = T> + Shl<u16, Output = T>,
Expand description
Returns an offset into attributes memory of the given vertical coordinate y
[0, 192) (0 on top).