Struct egui_fltk_frontend::EguiState[][src]

pub struct EguiState {
    pub fuse_cursor: FusedCursor,
    pub pointer_pos: Pos2,
    pub input: RawInput,
    pub modifiers: Modifiers,
    pub physical_width: u32,
    pub physical_height: u32,
    pub pixels_per_point: f32,
    pub screen_rect: Rect,
    pub clipboard: Clipboard,
    // some fields omitted
}
Expand description

Shuttles FLTK’s input and events to Egui

Fields

fuse_cursor: FusedCursorpointer_pos: Pos2input: RawInputmodifiers: Modifiersphysical_width: u32physical_height: u32pixels_per_point: f32screen_rect: Rectclipboard: Clipboard

Implementations

Conveniece method bundling the necessary components for input/event handling

Convenience method for outputting what egui emits each frame

Updates the screen rect

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.