[][src]Struct skia_bindings::SkDynamicMemoryWStream

#[repr(C)]
pub struct SkDynamicMemoryWStream {
    pub _base: SkWStream,
    pub fHead: *mut SkDynamicMemoryWStream_Block,
    pub fTail: *mut SkDynamicMemoryWStream_Block,
    pub fBytesWrittenBeforeTail: usize,
}

Fields

_base: SkWStreamfHead: *mut SkDynamicMemoryWStream_BlockfTail: *mut SkDynamicMemoryWStream_BlockfBytesWrittenBeforeTail: usize

Methods

impl SkDynamicMemoryWStream[src]

pub unsafe fn read(
    &mut self,
    buffer: *mut c_void,
    offset: usize,
    size: usize
) -> bool
[src]

pub unsafe fn copyTo(&self, dst: *mut c_void)[src]

pub unsafe fn writeToStream(&self, dst: *mut SkWStream) -> bool[src]

pub unsafe fn copyToAndReset(&mut self, dst: *mut c_void)[src]

pub unsafe fn writeToAndReset(&mut self, dst: *mut SkWStream) -> bool[src]

pub unsafe fn writeToAndReset1(
    &mut self,
    dst: *mut SkDynamicMemoryWStream
) -> bool
[src]

pub unsafe fn prependToAndReset(&mut self, dst: *mut SkDynamicMemoryWStream)[src]

pub unsafe fn detachAsData(&mut self) -> sk_sp<SkData>[src]

pub unsafe fn detachAsStream(&mut self) -> u64[src]

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

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

pub unsafe fn new(arg1: *mut SkDynamicMemoryWStream) -> Self[src]

Auto Trait Implementations

Blanket Implementations

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

impl<T> From<T> for 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]