[−][src]Struct clip_sys::clip_image
Fields
m_own_data: bool
m_data: *mut c_char
m_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
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]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,