Enum ux::prelude::dx::SystemError [−][src]
#[non_exhaustive] pub enum SystemError { CoglSystemErrorUnsupported, CoglSystemErrorNoMemory, // some variants omitted }
Error enumeration for Cogl
The SystemError::CoglSystemErrorUnsupported
error can be thrown for a
variety of reasons. For example:
<itemizedlist>
<listitem>``<para>
You’ve tried to use a feature that is not
advertised by has_feature
. This could happen if you create
a 2d texture with a non-power-of-two size when
FeatureID::OglFeatureIdTextureNpot
is not advertised.</para>``</listitem>
<listitem>``<para>
The GPU can not handle the configuration you have
requested. An example might be if you try to use too many texture
layers in a single Pipeline``</para>``</listitem>
<listitem>``<para>
The driver does not support some
configuration.</para>``</listiem>
</itemizedlist>
Currently this is only used by Cogl API marked as experimental so this enum should also be considered experimental.
Variants (Non-exhaustive)
You tried to use a feature or configuration not currently available.
You tried to allocate a resource such as a texture and there wasn’t enough memory.
Trait Implementations
impl Clone for SystemError
[src]
impl Clone for SystemError
[src]pub fn clone(&self) -> SystemError
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SystemError
[src]
impl Copy for SystemError
[src]impl Eq for SystemError
[src]
impl Eq for SystemError
[src]impl<'a> FromValue<'a> for SystemError
[src]
impl<'a> FromValue<'a> for SystemError
[src]pub unsafe fn from_value(value: &Value) -> SystemError
[src]
impl<'a> FromValueOptional<'a> for SystemError
[src]
impl<'a> FromValueOptional<'a> for SystemError
[src]pub unsafe fn from_value_optional(value: &Value) -> Option<SystemError>
[src]
impl Hash for SystemError
[src]
impl Hash for SystemError
[src]impl Ord for SystemError
[src]
impl Ord for SystemError
[src]impl PartialEq<SystemError> for SystemError
[src]
impl PartialEq<SystemError> for SystemError
[src]pub fn eq(&self, other: &SystemError) -> bool
[src]
pub fn ne(&self, other: &SystemError) -> bool
[src]
impl PartialOrd<SystemError> for SystemError
[src]
impl PartialOrd<SystemError> for SystemError
[src]pub fn partial_cmp(&self, other: &SystemError) -> Option<Ordering>
[src]
#[must_use]pub fn lt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn le(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn gt(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]pub fn ge(&self, other: &Rhs) -> bool
1.0.0[src]
impl SetValue for SystemError
[src]
impl SetValue for SystemError
[src]pub unsafe fn set_value(value: &mut Value, this: &SystemError)
[src]
impl StaticType for SystemError
[src]
impl StaticType for SystemError
[src]pub fn static_type() -> Type
[src]
impl StructuralEq for SystemError
[src]
impl StructuralEq for SystemError
[src]impl StructuralPartialEq for SystemError
[src]
impl StructuralPartialEq for SystemError
[src]Auto Trait Implementations
impl RefUnwindSafe for SystemError
impl RefUnwindSafe for SystemError
impl Send for SystemError
impl Send for SystemError
impl Sync for SystemError
impl Sync for SystemError
impl Unpin for SystemError
impl Unpin for SystemError
impl UnwindSafe for SystemError
impl UnwindSafe for SystemError
Blanket Implementations
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]
impl<Fr, To> IntoColor<To> for Fr where
To: FromColor<Fr>,
[src]pub fn into_color(self) -> To
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]
impl<T> ToSendValue for T where
T: SetValue + Send + ToValue + ?Sized,
[src]pub fn to_send_value(&self) -> SendValue
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,