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: &str, direction: ParameterDirection, transfer: TransferOwnership, nullable: bool, 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§impl Debug for Parameters
impl Debug for Parameters
Auto Trait Implementations§
impl Freeze for Parameters
impl RefUnwindSafe for Parameters
impl Send for Parameters
impl Sync for Parameters
impl Unpin for Parameters
impl UnsafeUnpin 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