Enum gtk::PrintError
[−]
[src]
pub enum PrintError { General, InternalError, Nomem, InvalidFile, // some variants omitted }
Variants
General
InternalError
Nomem
InvalidFile
Trait Implementations
impl Clone for PrintError
[src]
fn clone(&self) -> PrintError
[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 PrintError
[src]
impl Debug for PrintError
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
Formats the value using the given formatter. Read more
impl Eq for PrintError
[src]
impl PartialEq for PrintError
[src]
fn eq(&self, __arg_0: &PrintError) -> bool
[src]
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &PrintError) -> bool
[src]
This method tests for !=
.
impl Hash for PrintError
[src]
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl ErrorDomain for PrintError
[src]
fn domain() -> GQuark
[src]
Returns the quark identifying the error domain. Read more
fn code(self) -> i32
[src]
Gets the integer representation of the variant.
fn from(code: i32) -> Option<Self>
[src]
Tries to convert an integer code to an enum variant. Read more
impl StaticType for PrintError
[src]
fn static_type() -> Type
[src]
Returns the type identifier of Self
.