Enum oo_bindgen::model::FunctionArgument
source · #[non_exhaustive]
pub enum FunctionArgument {
Basic(BasicType),
String(StringType),
Collection(CollectionHandle),
Struct(UniversalOr<FunctionArgStructField>),
StructRef(FunctionArgStructDeclaration),
ClassRef(ClassDeclarationHandle),
Interface(InterfaceHandle),
}
Expand description
Types that can be used as native function arguments
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Basic(BasicType)
String(StringType)
Collection(CollectionHandle)
Struct(UniversalOr<FunctionArgStructField>)
StructRef(FunctionArgStructDeclaration)
ClassRef(ClassDeclarationHandle)
Interface(InterfaceHandle)
Trait Implementations§
source§impl Clone for FunctionArgument
impl Clone for FunctionArgument
source§fn clone(&self) -> FunctionArgument
fn clone(&self) -> FunctionArgument
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for FunctionArgument
impl Debug for FunctionArgument
source§impl From<AsynchronousInterface> for FunctionArgument
impl From<AsynchronousInterface> for FunctionArgument
source§fn from(x: AsynchronousInterface) -> Self
fn from(x: AsynchronousInterface) -> Self
Converts to this type from the input type.
source§impl From<BasicType> for FunctionArgument
impl From<BasicType> for FunctionArgument
source§impl From<DurationType> for FunctionArgument
impl From<DurationType> for FunctionArgument
source§fn from(x: DurationType) -> Self
fn from(x: DurationType) -> Self
Converts to this type from the input type.
source§impl From<Handle<ClassDeclaration>> for FunctionArgument
impl From<Handle<ClassDeclaration>> for FunctionArgument
source§fn from(x: ClassDeclarationHandle) -> Self
fn from(x: ClassDeclarationHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Collection<Unvalidated>>> for FunctionArgument
impl From<Handle<Collection<Unvalidated>>> for FunctionArgument
source§fn from(x: CollectionHandle) -> Self
fn from(x: CollectionHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Enum<Unvalidated>>> for FunctionArgument
impl From<Handle<Enum<Unvalidated>>> for FunctionArgument
source§impl From<Handle<Struct<FunctionArgStructField, Unvalidated>>> for FunctionArgument
impl From<Handle<Struct<FunctionArgStructField, Unvalidated>>> for FunctionArgument
source§fn from(x: FunctionArgStructHandle) -> Self
fn from(x: FunctionArgStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for FunctionArgument
impl From<Handle<Struct<UniversalStructField, Unvalidated>>> for FunctionArgument
source§fn from(x: UniversalStructHandle) -> Self
fn from(x: UniversalStructHandle) -> Self
Converts to this type from the input type.
source§impl From<Primitive> for FunctionArgument
impl From<Primitive> for FunctionArgument
source§impl From<StringType> for FunctionArgument
impl From<StringType> for FunctionArgument
source§fn from(x: StringType) -> Self
fn from(x: StringType) -> Self
Converts to this type from the input type.
source§impl From<SynchronousInterface> for FunctionArgument
impl From<SynchronousInterface> for FunctionArgument
source§fn from(x: SynchronousInterface) -> Self
fn from(x: SynchronousInterface) -> Self
Converts to this type from the input type.
source§impl From<TypedStructDeclaration<FunctionArgStructField>> for FunctionArgument
impl From<TypedStructDeclaration<FunctionArgStructField>> for FunctionArgument
source§fn from(x: FunctionArgStructDeclaration) -> Self
fn from(x: FunctionArgStructDeclaration) -> Self
Converts to this type from the input type.
source§impl From<TypedStructDeclaration<UniversalStructField>> for FunctionArgument
impl From<TypedStructDeclaration<UniversalStructField>> for FunctionArgument
source§fn from(x: UniversalStructDeclaration) -> Self
fn from(x: UniversalStructDeclaration) -> Self
Converts to this type from the input type.