pub enum PlanetTextError {
EmptyName,
EmptySystemName,
}Variants§
Trait Implementations§
Source§impl Clone for PlanetTextError
impl Clone for PlanetTextError
Source§fn clone(&self) -> PlanetTextError
fn clone(&self) -> PlanetTextError
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 moreSource§impl Debug for PlanetTextError
impl Debug for PlanetTextError
Source§impl Display for PlanetTextError
impl Display for PlanetTextError
Source§impl Error for PlanetTextError
impl Error for PlanetTextError
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 PlanetTextError
impl PartialEq for PlanetTextError
Source§fn eq(&self, other: &PlanetTextError) -> bool
fn eq(&self, other: &PlanetTextError) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for PlanetTextError
impl Eq for PlanetTextError
impl StructuralPartialEq for PlanetTextError
Auto Trait Implementations§
impl Freeze for PlanetTextError
impl RefUnwindSafe for PlanetTextError
impl Send for PlanetTextError
impl Sync for PlanetTextError
impl Unpin for PlanetTextError
impl UnsafeUnpin for PlanetTextError
impl UnwindSafe for PlanetTextError
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