Struct cairo::PDFSurface [−][src]
pub struct PDFSurface(_);
Methods
impl PDFSurface
[src]
impl PDFSurface
pub fn from(surface: Surface) -> Result<PDFSurface, Surface>
[src]
pub fn from(surface: Surface) -> Result<PDFSurface, Surface>
pub unsafe fn from_raw_full(ptr: *mut cairo_surface_t) -> PDFSurface
[src]
pub unsafe fn from_raw_full(ptr: *mut cairo_surface_t) -> PDFSurface
pub fn create<T: AsRef<Path>>(
filename: T,
width: f64,
height: f64
) -> PDFSurface
[src]
pub fn create<T: AsRef<Path>>(
filename: T,
width: f64,
height: f64
) -> PDFSurface
Methods from Deref<Target = 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 Debug for PDFSurface
[src]
impl Debug for PDFSurface
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 AsRef<Surface> for PDFSurface
[src]
impl AsRef<Surface> for PDFSurface
impl Deref for PDFSurface
[src]
impl Deref for PDFSurface
type Target = Surface
The resulting type after dereferencing.
fn deref(&self) -> &Surface
[src]
fn deref(&self) -> &Surface
Dereferences the value.
impl Clone for PDFSurface
[src]
impl Clone for PDFSurface
fn clone(&self) -> PDFSurface
[src]
fn clone(&self) -> PDFSurface
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 Send for PDFSurface
[src]
impl Send for PDFSurface
impl<'a> ToGlibPtr<'a, *mut cairo_surface_t> for PDFSurface
[src]
impl<'a> ToGlibPtr<'a, *mut cairo_surface_t> for PDFSurface
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 PDFSurface
[src]
impl FromGlibPtrNone<*mut cairo_surface_t> for PDFSurface
unsafe fn from_glib_none(ptr: *mut cairo_surface_t) -> PDFSurface
[src]
unsafe fn from_glib_none(ptr: *mut cairo_surface_t) -> PDFSurface
impl FromGlibPtrBorrow<*mut cairo_surface_t> for PDFSurface
[src]
impl FromGlibPtrBorrow<*mut cairo_surface_t> for PDFSurface
unsafe fn from_glib_borrow(ptr: *mut cairo_surface_t) -> PDFSurface
[src]
unsafe fn from_glib_borrow(ptr: *mut cairo_surface_t) -> PDFSurface
impl FromGlibPtrFull<*mut cairo_surface_t> for PDFSurface
[src]
impl FromGlibPtrFull<*mut cairo_surface_t> for PDFSurface
unsafe fn from_glib_full(ptr: *mut cairo_surface_t) -> PDFSurface
[src]
unsafe fn from_glib_full(ptr: *mut cairo_surface_t) -> PDFSurface
impl StaticType for PDFSurface
[src]
impl StaticType for PDFSurface
fn static_type() -> Type
[src]
fn static_type() -> Type
Returns the type identifier of Self
.
impl<'a> FromValueOptional<'a> for PDFSurface
[src]
impl<'a> FromValueOptional<'a> for PDFSurface
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
[src]
unsafe fn from_value_optional(v: &'a Value) -> Option<Self>
impl SetValue for PDFSurface
[src]
impl SetValue for PDFSurface
impl SetValueOptional for PDFSurface
[src]
impl SetValueOptional for PDFSurface
unsafe fn set_value_optional(v: &mut Value, s: Option<&Self>)
[src]
unsafe fn set_value_optional(v: &mut Value, s: Option<&Self>)
Auto Trait Implementations
impl !Sync for PDFSurface
impl !Sync for PDFSurface