pub struct FieldBinding {
pub field: Field,
pub binding: Ident,
}
Fields§
§field: Field
§binding: Ident
Implementations§
source§impl FieldBinding
impl FieldBinding
pub fn build_type(&self) -> TokenStream2
pub fn build_type_ref(&self) -> TokenStream2
pub fn build_type_mut(&self) -> TokenStream2
pub fn build(&self) -> TokenStream2
pub fn build_pat_ref(&self) -> TokenStream2
pub fn build_pat_mut(&self) -> TokenStream2
pub fn build_field_type(&self) -> TokenStream2
pub fn build_field_type_ref(&self) -> TokenStream2
pub fn build_field_type_mut(&self) -> TokenStream2
pub fn build_field_expr(&self) -> TokenStream2
pub fn build_field_pat(&self) -> TokenStream2
Auto Trait Implementations§
impl Freeze for FieldBinding
impl RefUnwindSafe for FieldBinding
impl !Send for FieldBinding
impl !Sync for FieldBinding
impl Unpin for FieldBinding
impl UnwindSafe for FieldBinding
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