Enum glib::value::InvalidCharError
source · [−]pub enum InvalidCharError {
WrongValueType(ValueTypeMismatchError),
CharConversionError,
}
Expand description
Variants
WrongValueType(ValueTypeMismatchError)
CharConversionError
Trait Implementations
sourceimpl Clone for InvalidCharError
impl Clone for InvalidCharError
sourcefn clone(&self) -> InvalidCharError
fn clone(&self) -> InvalidCharError
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for InvalidCharError
impl Debug for InvalidCharError
sourceimpl Display for InvalidCharError
impl Display for InvalidCharError
sourceimpl Error for InvalidCharError
impl Error for InvalidCharError
1.30.0 · sourcefn 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 · sourcefn description(&self) -> &str
fn description(&self) -> &str
👎Deprecated since 1.42.0:
use the Display impl or to_string()
sourceimpl From<Infallible> for InvalidCharError
impl From<Infallible> for InvalidCharError
sourcefn from(e: Infallible) -> Self
fn from(e: Infallible) -> Self
Converts to this type from the input type.
sourceimpl From<ValueTypeMismatchError> for InvalidCharError
impl From<ValueTypeMismatchError> for InvalidCharError
sourcefn from(err: ValueTypeMismatchError) -> Self
fn from(err: ValueTypeMismatchError) -> Self
Converts to this type from the input type.
sourceimpl PartialEq<InvalidCharError> for InvalidCharError
impl PartialEq<InvalidCharError> for InvalidCharError
sourcefn eq(&self, other: &InvalidCharError) -> bool
fn eq(&self, other: &InvalidCharError) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
impl Eq for InvalidCharError
impl StructuralEq for InvalidCharError
impl StructuralPartialEq for InvalidCharError
Auto Trait Implementations
impl RefUnwindSafe for InvalidCharError
impl Send for InvalidCharError
impl Sync for InvalidCharError
impl Unpin for InvalidCharError
impl UnwindSafe for InvalidCharError
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more