pub fn normalize(self, disposition: NormalizedDisposition) -> Self {
        match self {
            Argument::WithValue(s, v, ArgDisposition::CanBeConcatenated(d)) |
            Argument::WithValue(s, v, ArgDisposition::CanBeSeparated(d)) => {
                Argument::WithValue(
                    s,
                    v,
                    match disposition {
                        NormalizedDisposition::Separated => ArgDisposition::Separated,
                        NormalizedDisposition::Concatenated => ArgDisposition::Concatenated(d),
                    },
                )
            }
            a => a,
        }
    }
/// For arguments that allow both a concatenated or separated disposition,
/// normalize a parsed argument to a prefered disposition.
For arguments that allow both a concatenated or separated disposition,
normalize a parsed argument to a prefered disposition.
For arguments that allow both a concatenated or separated disposition normalize a parsed argument to a prefered disposition .
pub fn normalize(self, disposition: NormalizedDisposition) -> Self {
        match self {
            Argument::WithValue(s, v, ArgDisposition::CanBeConcatenated(d)) |
            Argument::WithValue(s, v, ArgDisposition::CanBeSeparated(d)) => {
                Argument::WithValue(
                    s,
                    v,
                    match disposition {
                        NormalizedDisposition::Separated => ArgDisposition::Separated,
                        NormalizedDisposition::Concatenated => ArgDisposition::Concatenated(d),
                    },
                )
            }
            a => a,
        }
    }
pub fn normalize ( self , disposition : NormalizedDisposition ) -> Self { match self { Argument :: WithValue ( s , v , ArgDisposition :: CanBeConcatenated ( d ) ) | Argument :: WithValue ( s , v , ArgDisposition :: CanBeSeparated ( d ) ) => { Argument :: WithValue ( s , v , match disposition { NormalizedDisposition :: Separated => ArgDisposition :: Separated , NormalizedDisposition :: Concatenated => ArgDisposition :: Concatenated ( d ) , } , ) } a => a , } }
For arguments that allow both a concatenated or separated disposition,
normalize a parsed argument to a prefered disposition.
For arguments that allow both a concatenated or separated disposition normalize a parsed argument to a prefered disposition .
self
disposition
NormalizedDisposition