pub struct ThemePresetParseError(/* private fields */);Expand description
Error parsing theme preset name.
Implementations§
Source§impl ThemePresetParseError
impl ThemePresetParseError
Sourcepub fn invalid_name(&self) -> &str
pub fn invalid_name(&self) -> &str
Get the invalid preset name that was provided.
Trait Implementations§
Source§impl Clone for ThemePresetParseError
impl Clone for ThemePresetParseError
Source§fn clone(&self) -> ThemePresetParseError
fn clone(&self) -> ThemePresetParseError
Returns a duplicate 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 ThemePresetParseError
impl Debug for ThemePresetParseError
Source§impl Display for ThemePresetParseError
impl Display for ThemePresetParseError
Source§impl Error for ThemePresetParseError
impl Error for ThemePresetParseError
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()
Auto Trait Implementations§
impl Freeze for ThemePresetParseError
impl RefUnwindSafe for ThemePresetParseError
impl Send for ThemePresetParseError
impl Sync for ThemePresetParseError
impl Unpin for ThemePresetParseError
impl UnwindSafe for ThemePresetParseError
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