[][src]Trait opencv::viz::KeyboardEventTrait

pub trait KeyboardEventTrait {
    fn as_raw_KeyboardEvent(&self) -> *const c_void;
fn as_raw_mut_KeyboardEvent(&mut self) -> *mut c_void; fn action(&self) -> KeyboardEvent_Action { ... }
fn set_action(&mut self, val: KeyboardEvent_Action) { ... }
fn symbol(&self) -> String { ... }
fn set_symbol(&mut self, val: &str) { ... }
fn code(&self) -> u8 { ... }
fn set_code(&mut self, val: u8) { ... }
fn modifiers(&self) -> i32 { ... }
fn set_modifiers(&mut self, val: i32) { ... } }

This class represents a keyboard event.

Required methods

Loading content...

Provided methods

fn action(&self) -> KeyboardEvent_Action

fn set_action(&mut self, val: KeyboardEvent_Action)

fn symbol(&self) -> String

fn set_symbol(&mut self, val: &str)

fn code(&self) -> u8

fn set_code(&mut self, val: u8)

fn modifiers(&self) -> i32

fn set_modifiers(&mut self, val: i32)

Loading content...

Implementors

Loading content...