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

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[src]

fn set_action(&mut self, val: KeyboardEvent_Action)[src]

fn symbol(&self) -> String[src]

fn set_symbol(&mut self, val: &str)[src]

fn code(&self) -> u8[src]

fn set_code(&mut self, val: u8)[src]

fn modifiers(&self) -> i32[src]

fn set_modifiers(&mut self, val: i32)[src]

Loading content...

Implementors

Loading content...