pub struct KPrintState {
pub ring_buffer: Ringbuffer,
pub basic_fb_state: BasicFbState,
}Expand description
Inner, mutex-protected struct in KPrint;
holds the kernel Ringbuffer aswell as the current BasicFbState
Fields§
§ring_buffer: Ringbuffer§basic_fb_state: BasicFbStateImplementations§
Source§impl KPrintState
impl KPrintState
Sourcepub const fn new() -> Self
pub const fn new() -> Self
Constructor; creates a new KPrintState instance, which contains a newly created
Ringbuffer and a newly created BasicFbState struct