pub struct MultiVariantData<'input, 'state> {
pub variants: Vec<&'input Variant>,
pub variant_states: Vec<&'state State<'input>>,
}
Fields§
§variants: Vec<&'input Variant>
§variant_states: Vec<&'state State<'input>>
Auto Trait Implementations§
impl<'input, 'state> Freeze for MultiVariantData<'input, 'state>
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