Struct luminance_glfw::Device [] [src]

pub struct Device {
    pub kbd: Keyboard,
    pub mouse: Mouse,
    pub cursor: MouseMove,
    pub scroll: Scroll,
    // some fields omitted
}

Device object.

Upon window and context creation, this type is used to add interaction and context handling.

Fields

Keyboard receiver.

Mouse receiver.

Cursor receiver.

Scroll receiver.

Methods

impl Device
[src]