[][src]Enum cairo::Status

pub enum Status {
    Success,
    NoMemory,
    InvalidRestore,
    InvalidPopGroup,
    NoCurrentPoint,
    InvalidMatrix,
    InvalidStatus,
    NullPointer,
    InvalidString,
    InvalidPathData,
    ReadError,
    WriteError,
    SurfaceFinished,
    SurfaceTypeMismatch,
    PatternTypeMismatch,
    InvalidContent,
    InvalidFormat,
    InvalidVisual,
    FileNotFound,
    InvalidDash,
    InvalidDscComment,
    InvalidIndex,
    ClipNotRepresentable,
    TempFileError,
    InvalidStride,
    FontTypeMismatch,
    UserFontImmutable,
    UserFontError,
    NegativeCount,
    InvalidClusters,
    InvalidSlant,
    InvalidWeight,
    InvalidSize,
    UserFontNotImplemented,
    DeviceTypeMismatch,
    DeviceError,
    InvalidMeshConstruction,
    DeviceFinished,
    JBig2GlobalMissing,
    PngError,
    FreetypeError,
    Win32GdiError,
    LastStatus,
    // some variants omitted
}

Variants

SuccessNoMemoryInvalidRestoreInvalidPopGroupNoCurrentPointInvalidMatrixInvalidStatusNullPointerInvalidStringInvalidPathDataReadErrorWriteErrorSurfaceFinishedSurfaceTypeMismatchPatternTypeMismatchInvalidContentInvalidFormatInvalidVisualFileNotFoundInvalidDashInvalidDscCommentInvalidIndexClipNotRepresentableTempFileErrorInvalidStrideFontTypeMismatchUserFontImmutableUserFontErrorNegativeCountInvalidClustersInvalidSlantInvalidWeightInvalidSizeUserFontNotImplementedDeviceTypeMismatchDeviceErrorInvalidMeshConstructionDeviceFinishedJBig2GlobalMissingPngErrorFreetypeErrorWin32GdiErrorLastStatus

Methods

impl Status[src]

pub fn ensure_valid(self)[src]

Trait Implementations

impl Eq for Status[src]

impl PartialEq<Status> for Status[src]

impl Copy for Status[src]

impl Clone for Status[src]

fn clone_from(&mut self, source: &Self)1.0.0[src]

Performs copy-assignment from source. Read more

impl From<Status> for BorrowError[src]

impl From<Status> for IoError[src]

impl Debug for Status[src]

impl Display for Status[src]

impl StaticType for Status[src]

impl SetValue for Status[src]

impl<'a> FromValue<'a> for Status[src]

impl<'a> FromValueOptional<'a> for Status[src]

Auto Trait Implementations

impl Send for Status

impl Sync for Status

Blanket Implementations

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> ToValue for T where
    T: SetValue + ?Sized
[src]

impl<T> ToSendValue for T where
    T: ToValue + SetValue + Send + ?Sized
[src]