pub struct Arg {
pub arg_name: String,
pub typ: WrapperType,
}
Fields§
§arg_name: String
§typ: WrapperType
Implementations§
Source§impl Arg
impl Arg
pub fn new( arg_name: &str, type_: &str, ref_params: Option<ReferenceParameters>, ) -> Arg
pub fn primitive( arg_name: &str, type_: &str, ref_params: Option<ReferenceParameters>, ) -> Arg
pub fn _default(arg_name: &str, type_: &str) -> Arg
pub fn _self(type_: &str) -> Arg
pub fn _mut_self(type_: &str) -> Arg
Trait Implementations§
impl Eq for Arg
impl StructuralPartialEq for Arg
Auto Trait Implementations§
impl Freeze for Arg
impl RefUnwindSafe for Arg
impl !Send for Arg
impl !Sync for Arg
impl Unpin for Arg
impl UnwindSafe for Arg
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