pub enum USizeSetError {
InvalidBounds,
DifferentBounds,
OutOfBounds,
}
Expand description
An enumeration of the errors that can happen when using a USizeSet.
Variants§
InvalidBounds
Indicates that the bounds provided in the constructor are invalid, that is, the minimum is greater than the maximum.
DifferentBounds
Indicates that an operation was performed on two or more USizeSet
s
with different bounds.
OutOfBounds
Indicates that a number that was queried to be inserted or removed is
out of the bounds of the USizeSet
in question.
Trait Implementations§
Source§impl Debug for USizeSetError
impl Debug for USizeSetError
Source§impl PartialEq for USizeSetError
impl PartialEq for USizeSetError
impl Eq for USizeSetError
impl StructuralPartialEq for USizeSetError
Auto Trait Implementations§
impl Freeze for USizeSetError
impl RefUnwindSafe for USizeSetError
impl Send for USizeSetError
impl Sync for USizeSetError
impl Unpin for USizeSetError
impl UnwindSafe for USizeSetError
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more