Struct ComponentRange

struct ComponentRange { ... }

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: Self) -> &'static str

Obtain the name of the component whose value was out of range.

const fn is_conditional(self: Self) -> bool

Whether 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.

impl Clone for ComponentRange

fn clone(self: &Self) -> ComponentRange

impl Copy for ComponentRange

impl Debug for ComponentRange

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Display for ComponentRange

fn fmt(self: &Self, f: &mut Formatter<'_>) -> Result

impl Eq for ComponentRange

impl Error for ComponentRange

impl Freeze for ComponentRange

impl Hash for ComponentRange

fn hash<__H: $crate::hash::Hasher>(self: &Self, state: &mut __H)

impl PartialEq for ComponentRange

fn eq(self: &Self, other: &ComponentRange) -> bool

impl RefUnwindSafe for ComponentRange

impl Send for ComponentRange

impl StructuralPartialEq for ComponentRange

impl Sync for ComponentRange

impl TryFrom for ComponentRange

fn try_from(err: Error) -> Result<Self, <Self as >::Error>

impl Unpin for ComponentRange

impl UnsafeUnpin for ComponentRange

impl UnwindSafe for ComponentRange

impl<T> Any for ComponentRange

fn type_id(self: &Self) -> TypeId

impl<T> Borrow for ComponentRange

fn borrow(self: &Self) -> &T

impl<T> BorrowMut for ComponentRange

fn borrow_mut(self: &mut Self) -> &mut T

impl<T> CloneToUninit for ComponentRange

unsafe fn clone_to_uninit(self: &Self, dest: *mut u8)

impl<T> From for ComponentRange

fn from(t: T) -> T

Returns the argument unchanged.

impl<T> ToOwned for ComponentRange

fn to_owned(self: &Self) -> T
fn clone_into(self: &Self, target: &mut T)

impl<T> ToString for ComponentRange

fn to_string(self: &Self) -> String

impl<T, U> Into for ComponentRange

fn into(self: Self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of [From]<T> for U chooses to do.

impl<T, U> TryFrom for ComponentRange

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

impl<T, U> TryInto for ComponentRange

fn try_into(self: Self) -> Result<U, <U as TryFrom<T>>::Error>