Struct libgir::analysis::trampoline_parameters::Parameters
source · pub struct Parameters {
pub rust_parameters: Vec<RustParameter>,
pub c_parameters: Vec<CParameter>,
pub transformations: Vec<Transformation>,
}
Fields§
§rust_parameters: Vec<RustParameter>
§c_parameters: Vec<CParameter>
§transformations: Vec<Transformation>
Implementations§
source§impl Parameters
impl Parameters
pub fn new(capacity: usize) -> Self
pub fn prepare_transformation( &mut self, env: &Env, type_tid: TypeId, name: String, c_type: String, direction: ParameterDirection, transfer: Transfer, nullable: Nullable, ref_mode: RefMode, conversion_type: ConversionType, ) -> Transformation
pub fn get(&self, ind_rust: usize) -> Option<&Transformation>
Trait Implementations§
source§impl Clone for Parameters
impl Clone for Parameters
source§fn clone(&self) -> Parameters
fn clone(&self) -> Parameters
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 moresource§impl Debug for Parameters
impl Debug for Parameters
source§impl Default for Parameters
impl Default for Parameters
source§fn default() -> Parameters
fn default() -> Parameters
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for Parameters
impl RefUnwindSafe for Parameters
impl Send for Parameters
impl Sync for Parameters
impl Unpin for Parameters
impl UnwindSafe for Parameters
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
)