pub struct ImplArgs {
    pub ignores: Vec<Member>,
    pub using: Option<Member>,
    pub clause: Option<WhereClause>,
}
Expand description

Arguments passed to ImplTrait implementation methods

Fields

ignores: Vec<Member>

Fields ignored in attribute

using: Option<Member>

Field specified to ‘use’ in attribute

clause: Option<WhereClause>

Where clause added to attribute

Implementations

If true, this field is ignored

If true, this named field is ignored

If true, this unnamed field is ignored

Field to “use”, if any

Find field to “use”, if any

Call the given closure over all non-ignored fields

Call the given closure over all non-ignored fields

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.