[][src]Struct clip_sys::clip_image

#[repr(C)]pub struct clip_image {
    pub m_own_data: bool,
    pub m_data: *mut c_char,
    pub m_spec: clip_image_spec,
}

Fields

m_own_data: boolm_data: *mut c_charm_spec: clip_image_spec

Implementations

impl clip_image[src]

pub unsafe fn reset(&mut self)[src]

pub unsafe fn new() -> Self[src]

pub unsafe fn new1(spec: *const clip_image_spec) -> Self[src]

pub unsafe fn new2(data: *const c_void, spec: *const clip_image_spec) -> Self[src]

pub unsafe fn new3(image: *const clip_image) -> Self[src]

pub unsafe fn new4(image: *mut clip_image) -> Self[src]

pub unsafe fn destruct(&mut self)[src]

impl clip_image[src]

pub fn data(&self) -> *const u8[src]

pub fn spec(&self) -> &clip_image_spec[src]

pub fn is_valid(&self) -> bool[src]

Trait Implementations

impl Debug for clip_image[src]

Auto Trait Implementations

impl RefUnwindSafe for clip_image

impl !Send for clip_image

impl !Sync for clip_image

impl Unpin for clip_image

impl UnwindSafe for clip_image

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.