#[non_exhaustive]pub enum ArgumentTypeHint {
Unknown,
Scalar,
FloatingPoint,
Pointer,
CString,
ClassPointer {
class_name: String,
},
ObjcObject,
StructPointer,
}Expand description
The ArgumentTypeHint type.
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.
Unknown
The Unknown variant.
Scalar
The Scalar variant.
FloatingPoint
The FloatingPoint variant.
Pointer
The Pointer variant.
CString
The CString variant.
ClassPointer
The ClassPointer variant.
ObjcObject
The ObjcObject variant.
StructPointer
The StructPointer variant.
Trait Implementations§
Source§impl Clone for ArgumentTypeHint
impl Clone for ArgumentTypeHint
Source§impl Debug for ArgumentTypeHint
impl Debug for ArgumentTypeHint
impl Eq for ArgumentTypeHint
Source§impl PartialEq for ArgumentTypeHint
impl PartialEq for ArgumentTypeHint
Source§impl Serialize for ArgumentTypeHint
impl Serialize for ArgumentTypeHint
impl StructuralPartialEq for ArgumentTypeHint
Auto Trait Implementations§
impl Freeze for ArgumentTypeHint
impl RefUnwindSafe for ArgumentTypeHint
impl Send for ArgumentTypeHint
impl Sync for ArgumentTypeHint
impl Unpin for ArgumentTypeHint
impl UnsafeUnpin for ArgumentTypeHint
impl UnwindSafe for ArgumentTypeHint
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more