Function setAttribute [src]

Sets the background and foreground colors for the outputString() and clearScreen() functions.

Prototype

pub fn setAttribute(self: *const SimpleTextOutput, attribute: usize) Status

Parameters

self: *const SimpleTextOutputattribute: usize

Source

pub fn setAttribute(self: *const SimpleTextOutput, attribute: usize) Status { return self._set_attribute(self, attribute); }