Trait StringRepr
pub trait StringRepr {
// Required method
fn string_repr(&self) -> String;
}Expand description
String represation trait.
As we cannot implement foreign traits for foreign structs
we can’t implement the Display or `Debug`` traits for the windows
structs.
Required Methods§
fn string_repr(&self) -> String
fn string_repr(&self) -> String
Returns a string representation of the struct.
Implementations on Foreign Types§
§impl StringRepr for INPUT_RECORD_0
impl StringRepr for INPUT_RECORD_0
§fn string_repr(&self) -> String
fn string_repr(&self) -> String
Returns a string representation of a INPUT_RECORD_0.
Note: we expect a KeyEvent.
§impl StringRepr for KEY_EVENT_RECORD
impl StringRepr for KEY_EVENT_RECORD
§fn string_repr(&self) -> String
fn string_repr(&self) -> String
Returns a string representation of a KEY_EVENT_RECORD showing all relevant attributes.
§impl StringRepr for KEY_EVENT_RECORD_0
impl StringRepr for KEY_EVENT_RECORD_0
§fn string_repr(&self) -> String
fn string_repr(&self) -> String
Returns a string representation of a KEY_EVENT_RECORD_0 showing which unicode character it represents.