pub struct Parameter {Show 14 fields
pub name: String,
pub typ: TypeId,
pub c_type: String,
pub instance_parameter: bool,
pub direction: ParameterDirection,
pub transfer: Transfer,
pub caller_allocates: bool,
pub nullable: Nullable,
pub array_length: Option<u32>,
pub is_error: bool,
pub doc: Option<String>,
pub scope: ParameterScope,
pub closure: Option<usize>,
pub destroy: Option<usize>,
}
Fields§
§name: String
§typ: TypeId
§c_type: String
§instance_parameter: bool
§direction: ParameterDirection
§transfer: Transfer
§caller_allocates: bool
§nullable: Nullable
§array_length: Option<u32>
§is_error: bool
§doc: Option<String>
§scope: ParameterScope
§closure: Option<usize>
Index of the user data parameter associated with the callback.
destroy: Option<usize>
Index of the destroy notification parameter associated with the callback.
Trait Implementations§
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)