pub(crate) struct VariantParts {
pub(crate) where_predicates: Vec<WherePredicate>,
pub(crate) variant_header: TokenStream,
pub(crate) variant_body: TokenStream,
pub(crate) variant_idx_body: TokenStream,
}Fields§
§where_predicates: Vec<WherePredicate>§variant_header: TokenStream§variant_body: TokenStream§variant_idx_body: TokenStreamAuto Trait Implementations§
impl Freeze for VariantParts
impl RefUnwindSafe for VariantParts
impl !Send for VariantParts
impl !Sync for VariantParts
impl Unpin for VariantParts
impl UnwindSafe for VariantParts
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