Enum ntcip::dms::GraphicError
source · pub enum GraphicError {
InvalidNumber,
DuplicateNumber,
InvalidHeight,
InvalidWidth,
InvalidBitmap,
InvalidTransparentColor,
TooBig,
}
Expand description
Graphic error
Variants§
InvalidNumber
DuplicateNumber
InvalidHeight
InvalidWidth
InvalidBitmap
InvalidTransparentColor
TooBig
Trait Implementations§
source§impl Debug for GraphicError
impl Debug for GraphicError
source§impl Display for GraphicError
impl Display for GraphicError
source§impl Error for GraphicError
impl Error for GraphicError
1.30.0 · source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
The lower-level source of this error, if any. Read more
1.0.0 · source§fn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0: use the Display impl or to_string()
source§impl From<GraphicError> for SignError
impl From<GraphicError> for SignError
source§fn from(source: GraphicError) -> Self
fn from(source: GraphicError) -> Self
Converts to this type from the input type.
source§impl From<GraphicError> for SyntaxError
impl From<GraphicError> for SyntaxError
source§fn from(err: GraphicError) -> Self
fn from(err: GraphicError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for GraphicError
impl RefUnwindSafe for GraphicError
impl Send for GraphicError
impl Sync for GraphicError
impl Unpin for GraphicError
impl UnwindSafe for GraphicError
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