ConflictGroup

Trait ConflictGroup 

Source
pub trait ConflictGroup: Sized {
    type Output;

    // Required methods
    fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result;
    fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>;
    fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>;
}

Required Associated Types§

Required Methods§

Source

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl<Out, T0> ConflictGroup for (T0,)
where T0: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1> ConflictGroup for (T0, T1)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2> ConflictGroup for (T0, T1, T2)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2, T3> ConflictGroup for (T0, T1, T2, T3)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>, T3: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2, T3, T4> ConflictGroup for (T0, T1, T2, T3, T4)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>, T3: ParseMeta<Output = Out>, T4: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2, T3, T4, T5> ConflictGroup for (T0, T1, T2, T3, T4, T5)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>, T3: ParseMeta<Output = Out>, T4: ParseMeta<Output = Out>, T5: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2, T3, T4, T5, T6> ConflictGroup for (T0, T1, T2, T3, T4, T5, T6)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>, T3: ParseMeta<Output = Out>, T4: ParseMeta<Output = Out>, T5: ParseMeta<Output = Out>, T6: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2, T3, T4, T5, T6, T7> ConflictGroup for (T0, T1, T2, T3, T4, T5, T6, T7)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>, T3: ParseMeta<Output = Out>, T4: ParseMeta<Output = Out>, T5: ParseMeta<Output = Out>, T6: ParseMeta<Output = Out>, T7: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2, T3, T4, T5, T6, T7, T8> ConflictGroup for (T0, T1, T2, T3, T4, T5, T6, T7, T8)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>, T3: ParseMeta<Output = Out>, T4: ParseMeta<Output = Out>, T5: ParseMeta<Output = Out>, T6: ParseMeta<Output = Out>, T7: ParseMeta<Output = Out>, T8: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9> ConflictGroup for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>, T3: ParseMeta<Output = Out>, T4: ParseMeta<Output = Out>, T5: ParseMeta<Output = Out>, T6: ParseMeta<Output = Out>, T7: ParseMeta<Output = Out>, T8: ParseMeta<Output = Out>, T9: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10> ConflictGroup for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>, T3: ParseMeta<Output = Out>, T4: ParseMeta<Output = Out>, T5: ParseMeta<Output = Out>, T6: ParseMeta<Output = Out>, T7: ParseMeta<Output = Out>, T8: ParseMeta<Output = Out>, T9: ParseMeta<Output = Out>, T10: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11> ConflictGroup for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>, T3: ParseMeta<Output = Out>, T4: ParseMeta<Output = Out>, T5: ParseMeta<Output = Out>, T6: ParseMeta<Output = Out>, T7: ParseMeta<Output = Out>, T8: ParseMeta<Output = Out>, T9: ParseMeta<Output = Out>, T10: ParseMeta<Output = Out>, T11: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12> ConflictGroup for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>, T3: ParseMeta<Output = Out>, T4: ParseMeta<Output = Out>, T5: ParseMeta<Output = Out>, T6: ParseMeta<Output = Out>, T7: ParseMeta<Output = Out>, T8: ParseMeta<Output = Out>, T9: ParseMeta<Output = Out>, T10: ParseMeta<Output = Out>, T11: ParseMeta<Output = Out>, T12: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13> ConflictGroup for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>, T3: ParseMeta<Output = Out>, T4: ParseMeta<Output = Out>, T5: ParseMeta<Output = Out>, T6: ParseMeta<Output = Out>, T7: ParseMeta<Output = Out>, T8: ParseMeta<Output = Out>, T9: ParseMeta<Output = Out>, T10: ParseMeta<Output = Out>, T11: ParseMeta<Output = Out>, T12: ParseMeta<Output = Out>, T13: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14> ConflictGroup for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>, T3: ParseMeta<Output = Out>, T4: ParseMeta<Output = Out>, T5: ParseMeta<Output = Out>, T6: ParseMeta<Output = Out>, T7: ParseMeta<Output = Out>, T8: ParseMeta<Output = Out>, T9: ParseMeta<Output = Out>, T10: ParseMeta<Output = Out>, T11: ParseMeta<Output = Out>, T12: ParseMeta<Output = Out>, T13: ParseMeta<Output = Out>, T14: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15> ConflictGroup for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>, T3: ParseMeta<Output = Out>, T4: ParseMeta<Output = Out>, T5: ParseMeta<Output = Out>, T6: ParseMeta<Output = Out>, T7: ParseMeta<Output = Out>, T8: ParseMeta<Output = Out>, T9: ParseMeta<Output = Out>, T10: ParseMeta<Output = Out>, T11: ParseMeta<Output = Out>, T12: ParseMeta<Output = Out>, T13: ParseMeta<Output = Out>, T14: ParseMeta<Output = Out>, T15: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16> ConflictGroup for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>, T3: ParseMeta<Output = Out>, T4: ParseMeta<Output = Out>, T5: ParseMeta<Output = Out>, T6: ParseMeta<Output = Out>, T7: ParseMeta<Output = Out>, T8: ParseMeta<Output = Out>, T9: ParseMeta<Output = Out>, T10: ParseMeta<Output = Out>, T11: ParseMeta<Output = Out>, T12: ParseMeta<Output = Out>, T13: ParseMeta<Output = Out>, T14: ParseMeta<Output = Out>, T15: ParseMeta<Output = Out>, T16: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17> ConflictGroup for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>, T3: ParseMeta<Output = Out>, T4: ParseMeta<Output = Out>, T5: ParseMeta<Output = Out>, T6: ParseMeta<Output = Out>, T7: ParseMeta<Output = Out>, T8: ParseMeta<Output = Out>, T9: ParseMeta<Output = Out>, T10: ParseMeta<Output = Out>, T11: ParseMeta<Output = Out>, T12: ParseMeta<Output = Out>, T13: ParseMeta<Output = Out>, T14: ParseMeta<Output = Out>, T15: ParseMeta<Output = Out>, T16: ParseMeta<Output = Out>, T17: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18> ConflictGroup for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>, T3: ParseMeta<Output = Out>, T4: ParseMeta<Output = Out>, T5: ParseMeta<Output = Out>, T6: ParseMeta<Output = Out>, T7: ParseMeta<Output = Out>, T8: ParseMeta<Output = Out>, T9: ParseMeta<Output = Out>, T10: ParseMeta<Output = Out>, T11: ParseMeta<Output = Out>, T12: ParseMeta<Output = Out>, T13: ParseMeta<Output = Out>, T14: ParseMeta<Output = Out>, T15: ParseMeta<Output = Out>, T16: ParseMeta<Output = Out>, T17: ParseMeta<Output = Out>, T18: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Source§

impl<Out, T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19> ConflictGroup for (T0, T1, T2, T3, T4, T5, T6, T7, T8, T9, T10, T11, T12, T13, T14, T15, T16, T17, T18, T19)
where T0: ParseMeta<Output = Out>, T1: ParseMeta<Output = Out>, T2: ParseMeta<Output = Out>, T3: ParseMeta<Output = Out>, T4: ParseMeta<Output = Out>, T5: ParseMeta<Output = Out>, T6: ParseMeta<Output = Out>, T7: ParseMeta<Output = Out>, T8: ParseMeta<Output = Out>, T9: ParseMeta<Output = Out>, T10: ParseMeta<Output = Out>, T11: ParseMeta<Output = Out>, T12: ParseMeta<Output = Out>, T13: ParseMeta<Output = Out>, T14: ParseMeta<Output = Out>, T15: ParseMeta<Output = Out>, T16: ParseMeta<Output = Out>, T17: ParseMeta<Output = Out>, T18: ParseMeta<Output = Out>, T19: ParseMeta<Output = Out>,

Source§

type Output = Out

Source§

fn parse_meta_conflict_alternative_arm(&self, f: &mut dyn Write) -> Result

Source§

fn parse(&mut self, nested: &ParseNestedMeta<'_>) -> Result<Option<u8>>

Source§

fn finish(self, index: u8) -> Result<<Self as ConflictGroup>::Output>

Implementors§