Enum tilejson::ParseCenterError
source · pub enum ParseCenterError {
BadLen,
ParseCoordError(ParseFloatError),
ParseZoomError(ParseIntError),
}
Variants§
BadLen
ParseCoordError(ParseFloatError)
Wrapped error from the parse::<f64>()
ParseZoomError(ParseIntError)
Wrapped error from the parse::<u8>()
Trait Implementations§
source§impl Clone for ParseCenterError
impl Clone for ParseCenterError
source§fn clone(&self) -> ParseCenterError
fn clone(&self) -> ParseCenterError
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ParseCenterError
impl Debug for ParseCenterError
source§impl Display for ParseCenterError
impl Display for ParseCenterError
source§impl Error for ParseCenterError
impl Error for ParseCenterError
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<ParseFloatError> for ParseCenterError
impl From<ParseFloatError> for ParseCenterError
source§fn from(source: ParseFloatError) -> Self
fn from(source: ParseFloatError) -> Self
Converts to this type from the input type.
source§impl From<ParseIntError> for ParseCenterError
impl From<ParseIntError> for ParseCenterError
source§fn from(source: ParseIntError) -> Self
fn from(source: ParseIntError) -> Self
Converts to this type from the input type.
source§impl PartialEq for ParseCenterError
impl PartialEq for ParseCenterError
source§fn eq(&self, other: &ParseCenterError) -> bool
fn eq(&self, other: &ParseCenterError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ParseCenterError
impl StructuralEq for ParseCenterError
impl StructuralPartialEq for ParseCenterError
Auto Trait Implementations§
impl RefUnwindSafe for ParseCenterError
impl Send for ParseCenterError
impl Sync for ParseCenterError
impl Unpin for ParseCenterError
impl UnwindSafe for ParseCenterError
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