[][src]Function spectrusty_core::video::color_line_offset

pub fn color_line_offset<T>(y: T) -> T where
    T: Copy + From<u16> + Shr<u16, Output = T> + Shl<u16, Output = T>, 

Returns an offset into attributes memory of the given vertical coordinate y [0, 192) (0 on top).