[−][src]Struct skia_bindings::SkDynamicMemoryWStream
Fields
_base: SkWStream
fHead: *mut SkDynamicMemoryWStream_Block
fTail: *mut SkDynamicMemoryWStream_Block
fBytesWrittenBeforeTail: usize
Methods
impl SkDynamicMemoryWStream
[src]
pub unsafe fn read(
&mut self,
buffer: *mut c_void,
offset: usize,
size: usize
) -> bool
[src]
&mut self,
buffer: *mut c_void,
offset: usize,
size: usize
) -> bool
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]
&mut self,
dst: *mut SkDynamicMemoryWStream
) -> bool
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
impl !Send for SkDynamicMemoryWStream
impl Unpin for SkDynamicMemoryWStream
impl !Sync for SkDynamicMemoryWStream
impl UnwindSafe for SkDynamicMemoryWStream
impl RefUnwindSafe for SkDynamicMemoryWStream
Blanket Implementations
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
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.
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,