Struct libgir::analysis::function_parameters::CParameter
source · pub struct CParameter {Show 15 fields
pub name: String,
pub typ: TypeId,
pub c_type: String,
pub instance_parameter: bool,
pub direction: ParameterDirection,
pub nullable: Nullable,
pub transfer: Transfer,
pub caller_allocates: bool,
pub is_error: bool,
pub scope: ParameterScope,
pub user_data_index: Option<usize>,
pub destroy_index: Option<usize>,
pub ref_mode: RefMode,
pub try_from_glib: TryFromGlib,
pub move_: bool,
}
Fields§
§name: String
§typ: TypeId
§c_type: String
§instance_parameter: bool
§direction: ParameterDirection
§nullable: Nullable
§transfer: Transfer
§caller_allocates: bool
§is_error: bool
§scope: ParameterScope
§user_data_index: Option<usize>
Index of the user data parameter associated with the callback.
destroy_index: Option<usize>
Index of the destroy notification parameter associated with the callback.
ref_mode: RefMode
§try_from_glib: TryFromGlib
§move_: bool
Trait Implementations§
source§impl Clone for CParameter
impl Clone for CParameter
source§fn clone(&self) -> CParameter
fn clone(&self) -> CParameter
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 moreAuto Trait Implementations§
impl Freeze for CParameter
impl RefUnwindSafe for CParameter
impl Send for CParameter
impl Sync for CParameter
impl Unpin for CParameter
impl UnwindSafe for CParameter
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
)