Struct cursive::reexports::time::error::ComponentRange [−]
pub struct ComponentRange { /* fields omitted */ }
Expand description
An error type indicating that a component provided to a method was out of range, causing a failure.
Implementations
impl ComponentRange
impl ComponentRange
Trait Implementations
impl Clone for ComponentRange
impl Clone for ComponentRange
pub fn clone(&self) -> ComponentRange
pub fn clone(&self) -> ComponentRange
Returns a copy of the value. Read more
Performs copy-assignment from source
. Read more
impl Debug for ComponentRange
impl Debug for ComponentRange
impl Display for ComponentRange
impl Display for ComponentRange
impl Error for ComponentRange
impl Error for ComponentRange
impl From<ComponentRange> for Error
impl From<ComponentRange> for Error
pub fn from(original: ComponentRange) -> Error
pub fn from(original: ComponentRange) -> Error
Performs the conversion.
impl Hash for ComponentRange
impl Hash for ComponentRange
impl PartialEq<ComponentRange> for ComponentRange
impl PartialEq<ComponentRange> for ComponentRange
pub fn eq(&self, other: &ComponentRange) -> bool
pub fn eq(&self, other: &ComponentRange) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
pub fn ne(&self, other: &ComponentRange) -> bool
pub fn ne(&self, other: &ComponentRange) -> bool
This method tests for !=
.
impl TryFrom<Error> for ComponentRange
impl TryFrom<Error> for ComponentRange
type Error = DifferentVariant
type Error = DifferentVariant
The type returned in the event of a conversion error.
pub fn try_from(
err: Error
) -> Result<ComponentRange, <ComponentRange as TryFrom<Error>>::Error>
pub fn try_from(
err: Error
) -> Result<ComponentRange, <ComponentRange as TryFrom<Error>>::Error>
Performs the conversion.
impl Copy for ComponentRange
impl Eq for ComponentRange
impl StructuralEq for ComponentRange
impl StructuralPartialEq for ComponentRange
Auto Trait Implementations
impl RefUnwindSafe for ComponentRange
impl Send for ComponentRange
impl Sync for ComponentRange
impl Unpin for ComponentRange
impl UnwindSafe for ComponentRange
Blanket Implementations
Mutably borrows from an owned value. Read more
Calls the given closure and return the result. Read more
Calls the given closure on self
.