Enum cairo_sys::enums::Format [−][src]
#[repr(C)]pub enum Format { Invalid, ARgb32, Rgb24, A8, A1, Rgb16_565, Rgb30, }
Variants
Invalid
ARgb32
Rgb24
A8
A1
Rgb16_565
Rgb30
Methods
impl Format
[src]
impl Format
Trait Implementations
impl Clone for Format
[src]
impl Clone for Format
fn clone(&self) -> Format
[src]
fn clone(&self) -> Format
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl Copy for Format
[src]
impl Copy for Format
impl Debug for Format
[src]
impl Debug for Format
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for Format
[src]
impl PartialEq for Format
fn eq(&self, other: &Format) -> bool
[src]
fn eq(&self, other: &Format) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0[src]
#[must_use]
fn ne(&self, other: &Rhs) -> bool
1.0.0
[src]This method tests for !=
.
impl Eq for Format
[src]
impl Eq for Format
impl StaticType for Format
[src]
impl StaticType for Format
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.
impl<'a> FromValueOptional<'a> for Format
[src]
impl<'a> FromValueOptional<'a> for Format
unsafe fn from_value_optional(value: &Value) -> Option<Self>
[src]
unsafe fn from_value_optional(value: &Value) -> Option<Self>
impl<'a> FromValue<'a> for Format
[src]
impl<'a> FromValue<'a> for Format
unsafe fn from_value(value: &Value) -> Self
[src]
unsafe fn from_value(value: &Value) -> Self
impl SetValue for Format
[src]
impl SetValue for Format