pub struct MainArgSignature {
pub type: Type,
pub error: String,
pub star_args: bool,
pub star_kwargs: Option<bool>,
pub args: Vec<MainArgSignatureArgsInner>,
pub no_main_func: Option<bool>,
pub has_preprocessor: Option<bool>,
}
Fields§
§type: Type
§error: String
§star_args: bool
§star_kwargs: Option<bool>
§args: Vec<MainArgSignatureArgsInner>
§no_main_func: Option<bool>
§has_preprocessor: Option<bool>
Implementations§
Trait Implementations§
Source§impl Clone for MainArgSignature
impl Clone for MainArgSignature
Source§fn clone(&self) -> MainArgSignature
fn clone(&self) -> MainArgSignature
Returns a duplicate 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 MainArgSignature
impl Debug for MainArgSignature
Source§impl Default for MainArgSignature
impl Default for MainArgSignature
Source§fn default() -> MainArgSignature
fn default() -> MainArgSignature
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for MainArgSignature
impl<'de> Deserialize<'de> for MainArgSignature
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for MainArgSignature
impl PartialEq for MainArgSignature
Source§impl Serialize for MainArgSignature
impl Serialize for MainArgSignature
impl StructuralPartialEq for MainArgSignature
Auto Trait Implementations§
impl Freeze for MainArgSignature
impl RefUnwindSafe for MainArgSignature
impl Send for MainArgSignature
impl Sync for MainArgSignature
impl Unpin for MainArgSignature
impl UnwindSafe for MainArgSignature
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