Enum cairo::Status
[−]
[src]
#[repr(C)]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, }
Variants
SuccessNoMemoryInvalidRestoreInvalidPopGroupNoCurrentPointInvalidMatrixInvalidStatusNullPointerInvalidStringInvalidPathDataReadErrorWriteErrorSurfaceFinishedSurfaceTypeMismatchPatternTypeMismatchInvalidContentInvalidFormatInvalidVisualFileNotFoundInvalidDashInvalidDscCommentInvalidIndexClipNotRepresentableTempFileErrorInvalidStrideFontTypeMismatchUserFontImmutableUserFontErrorNegativeCountInvalidClustersInvalidSlantInvalidWeightInvalidSizeUserFontNotImplementedDeviceTypeMismatchDeviceErrorInvalidMeshConstructionDeviceFinishedJBig2GlobalMissingPngErrorFreetypeErrorWin32GdiErrorLastStatus
Methods
impl Status[src]
pub fn ensure_valid(&self)[src]
Trait Implementations
impl Clone for Status[src]
fn clone(&self) -> Status[src]
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
Performs copy-assignment from source. Read more
impl Copy for Status[src]
impl PartialEq<Status> for Status[src]
fn eq(&self, __arg_0: &Status) -> bool[src]
This method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &Rhs) -> bool1.0.0[src]
This method tests for !=.
impl Debug for Status[src]
fn fmt(&self, formatter: &mut Formatter) -> Result<(), Error>[src]
Formats the value using the given formatter. Read more