Struct derive_more::utils::MultiVariantData
source · pub struct MultiVariantData<'input, 'state> {
pub input_type: &'input Ident,
pub variants: Vec<&'input Variant>,
pub variant_states: Vec<&'state State<'input>>,
pub infos: Vec<FullMetaInfo>,
pub trait_path: &'state TokenStream,
pub impl_generics: ImplGenerics<'state>,
pub ty_generics: TypeGenerics<'state>,
pub where_clause: Option<&'state WhereClause>,
}
Fields§
§input_type: &'input Ident
§variants: Vec<&'input Variant>
§variant_states: Vec<&'state State<'input>>
§infos: Vec<FullMetaInfo>
§trait_path: &'state TokenStream
§impl_generics: ImplGenerics<'state>
§ty_generics: TypeGenerics<'state>
§where_clause: Option<&'state WhereClause>
Auto Trait Implementations§
impl<'input, 'state> RefUnwindSafe for MultiVariantData<'input, 'state>
impl<'input, 'state> !Send for MultiVariantData<'input, 'state>
impl<'input, 'state> !Sync for MultiVariantData<'input, 'state>
impl<'input, 'state> Unpin for MultiVariantData<'input, 'state>
impl<'input, 'state> UnwindSafe for MultiVariantData<'input, 'state>
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