[][src]Struct skia_bindings::SkDeque

#[repr(C)]
pub struct SkDeque {
    pub fFront: *mut c_void,
    pub fBack: *mut c_void,
    pub fFrontBlock: *mut SkDeque_Block,
    pub fBackBlock: *mut SkDeque_Block,
    pub fElemSize: usize,
    pub fInitialStorage: *mut c_void,
    pub fCount: c_int,
    pub fAllocCount: c_int,
}

Fields

fFront: *mut c_voidfBack: *mut c_voidfFrontBlock: *mut SkDeque_BlockfBackBlock: *mut SkDeque_BlockfElemSize: usizefInitialStorage: *mut c_voidfCount: c_intfAllocCount: c_int

Methods

impl SkDeque[src]

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

pub unsafe fn count(&self) -> c_int[src]

pub unsafe fn elemSize(&self) -> usize[src]

pub unsafe fn front(&self) -> *const c_void[src]

pub unsafe fn back(&self) -> *const c_void[src]

pub unsafe fn front1(&mut self) -> *mut c_void[src]

pub unsafe fn back1(&mut self) -> *mut c_void[src]

pub unsafe fn push_front(&mut self) -> *mut c_void[src]

pub unsafe fn push_back(&mut self) -> *mut c_void[src]

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

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

pub unsafe fn new(elemSize: usize, allocCount: c_int) -> Self[src]

pub unsafe fn new1(
    elemSize: usize,
    storage: *mut c_void,
    storageSize: usize,
    allocCount: c_int
) -> Self
[src]

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

Trait Implementations

impl Debug for SkDeque[src]

Auto Trait Implementations

impl !Sync for SkDeque

impl !Send for SkDeque

impl Unpin for SkDeque

impl RefUnwindSafe for SkDeque

impl UnwindSafe for SkDeque

Blanket Implementations

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.

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

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

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