pub struct PatField {
pub ident: String,
pub pat: Pat,
}Fields§
§ident: String§pat: PatTrait Implementations§
source§impl From<PatField> for TokenStream
impl From<PatField> for TokenStream
source§impl PartialEq for PatField
impl PartialEq for PatField
impl Eq for PatField
impl StructuralEq for PatField
impl StructuralPartialEq for PatField
Auto Trait Implementations§
impl RefUnwindSafe for PatField
impl Send for PatField
impl Sync for PatField
impl Unpin for PatField
impl UnwindSafe for PatField
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