#[repr(C)]pub struct Parameter {
pub name: RString,
pub ty: Option<DataType>,
pub nullable: bool,
pub variadic: bool,
pub default: Option<RString>,
}Expand description
Represents a parameter attached to an exported function or method.
Fields§
§name: RStringName of the parameter.
ty: Option<DataType>Type of the parameter.
nullable: boolWhether the parameter is nullable.
variadic: boolWhether the parameter is variadic.
default: Option<RString>Default value of the parameter.
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