Struct frunk_proc_macro_helpers::VariantBinding
source · pub struct VariantBinding {
pub name: Ident,
pub fields: FieldBindings,
}
Fields§
§name: Ident
§fields: FieldBindings
Implementations§
source§impl VariantBinding
impl VariantBinding
pub fn build_type_constr(&self) -> TokenStream2
pub fn build_type_pat_ref(&self) -> TokenStream2
pub fn build_type_pat_mut(&self) -> TokenStream2
pub fn build_hlist_field_type(&self) -> TokenStream2
pub fn build_hlist_field_type_ref(&self) -> TokenStream2
pub fn build_hlist_field_type_mut(&self) -> TokenStream2
pub fn build_hlist_field_expr(&self) -> TokenStream2
pub fn build_hlist_field_pat(&self) -> TokenStream2
Auto Trait Implementations§
impl RefUnwindSafe for VariantBinding
impl !Send for VariantBinding
impl !Sync for VariantBinding
impl Unpin for VariantBinding
impl UnwindSafe for VariantBinding
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