Struct cairo::Surface [−][src]
pub struct Surface(_, _);
Methods
impl Surface
[src]
impl Surface
pub unsafe fn from_raw_none(ptr: *mut cairo_surface_t) -> Surface
[src]
pub unsafe fn from_raw_none(ptr: *mut cairo_surface_t) -> Surface
pub unsafe fn from_raw_borrow(ptr: *mut cairo_surface_t) -> Surface
[src]
pub unsafe fn from_raw_borrow(ptr: *mut cairo_surface_t) -> Surface
pub unsafe fn from_raw_full(ptr: *mut cairo_surface_t) -> Surface
[src]
pub unsafe fn from_raw_full(ptr: *mut cairo_surface_t) -> Surface
pub fn to_raw_none(&self) -> *mut cairo_surface_t
[src]
pub fn to_raw_none(&self) -> *mut cairo_surface_t
pub fn create_similar(
&self,
content: Content,
width: i32,
height: i32
) -> Surface
[src]
pub fn create_similar(
&self,
content: Content,
width: i32,
height: i32
) -> Surface
Trait Implementations
impl AsRef<Surface> for PDFSurface
[src]
impl AsRef<Surface> for PDFSurface
impl AsRef<Surface> for ImageSurface
[src]
impl AsRef<Surface> for ImageSurface
impl Debug for Surface
[src]
impl Debug for Surface
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<'a> ToGlibPtr<'a, *mut cairo_surface_t> for Surface
[src]
impl<'a> ToGlibPtr<'a, *mut cairo_surface_t> for Surface
type Storage = &'a Surface
fn to_glib_none(&'a self) -> Stash<'a, *mut cairo_surface_t, Self>
[src]
fn to_glib_none(&'a self) -> Stash<'a, *mut cairo_surface_t, Self>
Transfer: none. Read more
fn to_glib_full(&self) -> *mut cairo_surface_t
[src]
fn to_glib_full(&self) -> *mut cairo_surface_t
Transfer: full. Read more
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
[src]
fn to_glib_container(&'a self) -> Stash<'a, P, Self>
Transfer: container. Read more
impl FromGlibPtrNone<*mut cairo_surface_t> for Surface
[src]
impl FromGlibPtrNone<*mut cairo_surface_t> for Surface
unsafe fn from_glib_none(ptr: *mut cairo_surface_t) -> Surface
[src]
unsafe fn from_glib_none(ptr: *mut cairo_surface_t) -> Surface
impl FromGlibPtrBorrow<*mut cairo_surface_t> for Surface
[src]
impl FromGlibPtrBorrow<*mut cairo_surface_t> for Surface
unsafe fn from_glib_borrow(ptr: *mut cairo_surface_t) -> Surface
[src]
unsafe fn from_glib_borrow(ptr: *mut cairo_surface_t) -> Surface
impl FromGlibPtrFull<*mut cairo_surface_t> for Surface
[src]
impl FromGlibPtrFull<*mut cairo_surface_t> for Surface
unsafe fn from_glib_full(ptr: *mut cairo_surface_t) -> Surface
[src]
unsafe fn from_glib_full(ptr: *mut cairo_surface_t) -> Surface
impl StaticType for Surface
[src]
impl StaticType for Surface
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.
impl<'a> FromValueOptional<'a> for Surface
[src]
impl<'a> FromValueOptional<'a> for Surface
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
[src]
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
impl SetValue for Surface
[src]
impl SetValue for Surface
impl SetValueOptional for Surface
[src]
impl SetValueOptional for Surface
unsafe fn set_value_optional(v: &mut Value, s: Option<&Self>)
[src]
unsafe fn set_value_optional(v: &mut Value, s: Option<&Self>)
impl AsRef<Surface> for Surface
[src]
impl AsRef<Surface> for Surface
impl Clone for Surface
[src]
impl Clone for Surface
fn clone(&self) -> Surface
[src]
fn clone(&self) -> Surface
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 Drop for Surface
[src]
impl Drop for Surface