pub enum RendererCoordinateError {
NonFiniteConversion,
}Expand description
Failure while converting between logical and physical screen coordinates.
Variants§
NonFiniteConversion
The source position is non-finite or the scaled result cannot be represented as f32.
Trait Implementations§
Source§impl Clone for RendererCoordinateError
impl Clone for RendererCoordinateError
Source§fn clone(&self) -> RendererCoordinateError
fn clone(&self) -> RendererCoordinateError
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for RendererCoordinateError
Source§impl Debug for RendererCoordinateError
impl Debug for RendererCoordinateError
Source§impl Display for RendererCoordinateError
impl Display for RendererCoordinateError
Source§impl Error for RendererCoordinateError
impl Error for RendererCoordinateError
1.30.0 · Source§fn source(&self) -> Option<&(dyn Error + 'static)>
fn source(&self) -> Option<&(dyn Error + 'static)>
Returns 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 PartialEq for RendererCoordinateError
impl PartialEq for RendererCoordinateError
impl StructuralPartialEq for RendererCoordinateError
Auto Trait Implementations§
impl Freeze for RendererCoordinateError
impl RefUnwindSafe for RendererCoordinateError
impl Send for RendererCoordinateError
impl Sync for RendererCoordinateError
impl Unpin for RendererCoordinateError
impl UnsafeUnpin for RendererCoordinateError
impl UnwindSafe for RendererCoordinateError
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