Struct libgir::analysis::trampolines::Trampoline
source · pub struct Trampoline {Show 14 fields
pub name: String,
pub parameters: Parameters,
pub ret: Parameter,
pub bound_name: String,
pub bounds: Bounds,
pub version: Option<Version>,
pub inhibit: bool,
pub concurrency: Concurrency,
pub is_notify: bool,
pub scope: ParameterScope,
pub user_data_index: usize,
pub destroy_index: usize,
pub nullable: Nullable,
pub type_name: String,
}
Fields§
§name: String
§parameters: Parameters
§ret: Parameter
§bound_name: String
§bounds: Bounds
§version: Option<Version>
§inhibit: bool
§concurrency: Concurrency
§is_notify: bool
§scope: ParameterScope
§user_data_index: usize
It’s used to group callbacks
destroy_index: usize
§nullable: Nullable
§type_name: String
This field is used to give the type name when generating the “IsA
Trait Implementations§
source§impl Clone for Trampoline
impl Clone for Trampoline
source§fn clone(&self) -> Trampoline
fn clone(&self) -> Trampoline
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 Trampoline
impl RefUnwindSafe for Trampoline
impl Send for Trampoline
impl Sync for Trampoline
impl Unpin for Trampoline
impl UnwindSafe for Trampoline
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
)