pub struct Parameter {
    pub name: String,
    pub param_type: Type,
}Expand description
Represents a function parameter.
Fields§
§name: StringParameter name
param_type: TypeParameter type
Implementations§
Source§impl Parameter
 
impl Parameter
Sourcepub fn is_function_pointer(&self) -> bool
 
pub fn is_function_pointer(&self) -> bool
Check if this parameter is a function pointer.
Sourcepub fn is_const_char_pointer(&self) -> bool
 
pub fn is_const_char_pointer(&self) -> bool
Check if this parameter is a const char pointer (const char*).
§Implementation Status
Partial implementation - detects char* pointers but doesn’t check const qualifier.
Returns true for any Pointer(Char) type.
Full implementation requires adding const tracking to the Type enum.
Trait Implementations§
impl StructuralPartialEq for Parameter
Auto Trait Implementations§
impl Freeze for Parameter
impl RefUnwindSafe for Parameter
impl Send for Parameter
impl Sync for Parameter
impl Unpin for Parameter
impl UnwindSafe for Parameter
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