Struct cairo::device::Device [] [src]

pub struct Device {
    pub opaque: *mut c_void,
}

Fields

opaque: *mut c_void

Methods

impl Device
[src]

fn status(&mut self) -> Status

fn finish(&mut self)

fn flush(&mut self)

fn get_type(&mut self) -> DeviceType

fn get_reference_count(&mut self) -> c_uint

fn acquire(&mut self) -> Status

fn release(&mut self)

Trait Implementations

impl Clone for Device
[src]

fn clone(&self) -> Device

Returns a copy of the value. Read more

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

Performs copy-assignment from source. Read more

impl Drop for Device
[src]

fn drop(&mut self)

A method called when the value goes out of scope. Read more