Enum libflo_event::Event
[−]
[src]
pub enum Event { NativeEventNone(NativeEventNone), NativeEventInput(NativeEventInput), NativeEventOutput(NativeEventOutput), NativeEventInputOutput(NativeEventInputOutput), StringEventNone(StringEventNone), StringEventInput(StringEventInput), StringEventOutput(StringEventOutput), StringEventInputOutput(StringEventInputOutput), }
Variants
NativeEventNone(NativeEventNone)
NativeEventInput(NativeEventInput)
NativeEventOutput(NativeEventOutput)
NativeEventInputOutput(NativeEventInputOutput)
StringEventNone(StringEventNone)
StringEventInput(StringEventInput)
StringEventOutput(StringEventOutput)
StringEventInputOutput(StringEventInputOutput)
Methods
impl Event
[src]
fn new(funcs: Vec<Func>,
event_type: FuncType,
has_input: bool,
has_output: bool)
-> Result<Self>
event_type: FuncType,
has_input: bool,
has_output: bool)
-> Result<Self>
fn enum_to_string(&self) -> &'static str
Trait Implementations
impl From<NativeEventNone> for Event
[src]
fn from(event: NativeEventNone) -> Event
Performs the conversion.
impl From<NativeEventInput> for Event
[src]
fn from(event: NativeEventInput) -> Event
Performs the conversion.
impl From<NativeEventOutput> for Event
[src]
fn from(event: NativeEventOutput) -> Event
Performs the conversion.
impl From<NativeEventInputOutput> for Event
[src]
fn from(event: NativeEventInputOutput) -> Event
Performs the conversion.
impl From<StringEventNone> for Event
[src]
fn from(event: StringEventNone) -> Event
Performs the conversion.
impl From<StringEventInput> for Event
[src]
fn from(event: StringEventInput) -> Event
Performs the conversion.
impl From<StringEventOutput> for Event
[src]
fn from(event: StringEventOutput) -> Event
Performs the conversion.
impl From<StringEventInputOutput> for Event
[src]
fn from(event: StringEventInputOutput) -> Event
Performs the conversion.