Struct ppapi::input::IMEInputEventExperimental [-]  [+] [src]

pub struct IMEInputEvent {
    pub string: String,
    // some fields omitted
}

Fields

string

Methods

impl IMEInputEvent

fn new(res: PP_Resource) -> IMEInputEvent

impl IMEInputEvent

fn segments_len(&self) -> usize

fn segment_offset(&self, index: usize) -> Option<(usize, usize)>

fn segment_str<'a>(&'a self, index: usize) -> Option<&'a str>

fn segment_iter<'a>(&'a self) -> IMESegmentIterator<'a>

fn selection_offset(&self) -> (u32, u32)

fn selection_str<'a>(&'a self) -> &'a str

fn target_segment_index(&self) -> Option<usize>

fn target_segment_str<'a>(&'a self) -> Option<&'a str>

Trait Implementations

impl Resource for IMEInputEvent

fn unwrap(&self) -> PP_Resource

fn type_of(&self) -> ResourceType

impl PartialEq for IMEInputEvent

fn eq(&self, rhs: &IMEInputEvent) -> bool

fn ne(&self, other: &Rhs) -> bool

impl<T: Writer + Hasher> Hash<T> for IMEInputEvent

fn hash(&self, s: &mut T)

impl InputEvent for IMEInputEvent

fn modifiers(&self) -> Modifiers

fn timestamp(&self) -> Ticks

impl Clone for IMEInputEvent

fn clone(&self) -> IMEInputEvent

fn clone_from(&mut self, source: &Self)

impl Drop for IMEInputEvent

fn drop(&mut self)

Derived Implementations

impl Show for IMEInputEvent

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Eq for IMEInputEvent

fn assert_receiver_is_total_eq(&self)