Enum libflo_func::Func
[−]
[src]
pub enum Func { NativeFuncNone(NativeFuncNone), NativeFuncInput(NativeFuncInput), NativeFuncOutput(NativeFuncOutput), NativeFuncInputOutput(NativeFuncInputOutput), StringFuncNone(StringFuncNone), StringFuncInput(StringFuncInput), StringFuncOutput(StringFuncOutput), StringFuncInputOutput(StringFuncInputOutput), }
Variants
NativeFuncNone(NativeFuncNone)
NativeFuncInput(NativeFuncInput)
NativeFuncOutput(NativeFuncOutput)
NativeFuncInputOutput(NativeFuncInputOutput)
StringFuncNone(StringFuncNone)
StringFuncInput(StringFuncInput)
StringFuncOutput(StringFuncOutput)
StringFuncInputOutput(StringFuncInputOutput)
Methods
impl Func
[src]
unsafe fn new(dll: &LibArc,
symbol: &String,
func_type: FuncType,
has_input: bool,
has_output: bool)
-> Result<Self>
symbol: &String,
func_type: FuncType,
has_input: bool,
has_output: bool)
-> Result<Self>
fn enum_to_string(&self) -> &'static str
Trait Implementations
impl Clone for Func
[src]
fn clone(&self) -> Func
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more
impl From<NativeFuncNone> for Func
[src]
fn from(func: NativeFuncNone) -> Func
Performs the conversion.
impl From<NativeFuncInput> for Func
[src]
fn from(func: NativeFuncInput) -> Func
Performs the conversion.
impl From<NativeFuncOutput> for Func
[src]
fn from(func: NativeFuncOutput) -> Func
Performs the conversion.
impl From<NativeFuncInputOutput> for Func
[src]
fn from(func: NativeFuncInputOutput) -> Func
Performs the conversion.
impl From<StringFuncNone> for Func
[src]
fn from(func: StringFuncNone) -> Func
Performs the conversion.
impl From<StringFuncInput> for Func
[src]
fn from(func: StringFuncInput) -> Func
Performs the conversion.
impl From<StringFuncOutput> for Func
[src]
fn from(func: StringFuncOutput) -> Func
Performs the conversion.
impl From<StringFuncInputOutput> for Func
[src]
fn from(func: StringFuncInputOutput) -> Func
Performs the conversion.