Enum mindus::data::schematic::ResizeError
source · pub enum ResizeError {
TargetWidth(u16),
TargetHeight(u16),
XOffset {
dx: i16,
old_w: u16,
new_w: u16,
},
YOffset {
dy: i16,
old_h: u16,
new_h: u16,
},
Truncated(TruncatedError),
}Variants§
Trait Implementations§
source§impl Debug for ResizeError
impl Debug for ResizeError
source§impl Display for ResizeError
impl Display for ResizeError
source§impl Error for ResizeError
impl Error for ResizeError
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<TruncatedError> for ResizeError
impl From<TruncatedError> for ResizeError
source§fn from(source: TruncatedError) -> Self
fn from(source: TruncatedError) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl RefUnwindSafe for ResizeError
impl Send for ResizeError
impl Sync for ResizeError
impl Unpin for ResizeError
impl UnwindSafe for ResizeError
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