Enum druid::piet::cairo::glib::ConvertError
#[non_exhaustive]
pub enum ConvertError {
NoConversion,
IllegalSequence,
Failed,
PartialInput,
BadUri,
NotAbsolutePath,
NoMemory,
EmbeddedNul,
// some variants omitted
}
Variants (Non-exhaustive)§
This enum is marked as non-exhaustive
Non-exhaustive enums could have additional variants added in future. Therefore, when matching against variants of non-exhaustive enums, an extra wildcard arm must be added to account for any future variants.
Trait Implementations§
§impl Clone for ConvertError
impl Clone for ConvertError
§fn clone(&self) -> ConvertError
fn clone(&self) -> ConvertError
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 more§impl Debug for ConvertError
impl Debug for ConvertError
§impl Display for ConvertError
impl Display for ConvertError
§impl ErrorDomain for ConvertError
impl ErrorDomain for ConvertError
§impl Hash for ConvertError
impl Hash for ConvertError
§impl Ord for ConvertError
impl Ord for ConvertError
§impl PartialEq<ConvertError> for ConvertError
impl PartialEq<ConvertError> for ConvertError
§fn eq(&self, other: &ConvertError) -> bool
fn eq(&self, other: &ConvertError) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl PartialOrd<ConvertError> for ConvertError
impl PartialOrd<ConvertError> for ConvertError
§fn partial_cmp(&self, other: &ConvertError) -> Option<Ordering>
fn partial_cmp(&self, other: &ConvertError) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read moreimpl Copy for ConvertError
impl Eq for ConvertError
impl StructuralEq for ConvertError
impl StructuralPartialEq for ConvertError
Auto Trait Implementations§
impl RefUnwindSafe for ConvertError
impl Send for ConvertError
impl Sync for ConvertError
impl Unpin for ConvertError
impl UnwindSafe for ConvertError
Blanket Implementations§
source§impl<T> Instrument for T
impl<T> Instrument for T
source§fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
fn instrument(self, span: Span) -> Instrumented<Self> ⓘ
source§fn in_current_span(self) -> Instrumented<Self> ⓘ
fn in_current_span(self) -> Instrumented<Self> ⓘ
§impl<T> RoundFrom<T> for T
impl<T> RoundFrom<T> for T
§fn round_from(x: T) -> T
fn round_from(x: T) -> T
Performs the conversion.
§impl<T, U> RoundInto<U> for Twhere
U: RoundFrom<T>,
impl<T, U> RoundInto<U> for Twhere U: RoundFrom<T>,
§fn round_into(self) -> U
fn round_into(self) -> U
Performs the conversion.