Enum term_transcript::svg::RgbColorParseError [−][src]
#[non_exhaustive]
pub enum RgbColorParseError {
NoHashPrefix,
IncorrectLen(usize),
IncorrectDigit(ParseIntError),
}This is supported on crate feature
svg only.Variants (Non-exhaustive)
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
NoHashPrefix
The color does not have # prefix.
IncorrectLen(usize)
Tuple Fields
0: usizeThe color has incorrect string length (not 1 or 2 chars per color channel).
IncorrectDigit(ParseIntError)
Tuple Fields
Error parsing color channel value.
