Struct ComponentRange
pub struct ComponentRange { /* private fields */ }
An error type indicating that a component provided to a method was out of range, causing a failure.
Implementations
impl ComponentRange
const fn name(self) -> &'static strObtain the name of the component whose value was out of range.
const fn is_conditional(self) -> boolWhether the value's permitted range is conditional, i.e. whether an input with this value could have succeeded if the values of other components were different.
Trait Implementations
impl Clone for ComponentRange
fn clone(&self) -> Self
impl Copy for ComponentRange
impl Debug for ComponentRange
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Display for ComponentRange
fn fmt(&self, f: &mut Formatter<'_>) -> Result
impl Eq for ComponentRange
impl Error for ComponentRange
impl Hash for ComponentRange
fn hash<__H: Hasher>(&self, state: &mut __H)
impl PartialEq for ComponentRange
fn eq(&self, other: &Self) -> bool
impl StructuralPartialEq for ComponentRange
impl TryFrom<Error> for ComponentRange
type Error = DifferentVariant;fn try_from(err: Error) -> Result<Self, Self::Error>