[−][src]Struct skia_bindings::SkMemoryStream
Fields
_base: SkStreamMemory
fData: sk_sp<SkData>
fOffset: usize
Methods
impl SkMemoryStream
[src]
pub unsafe fn MakeCopy(data: *const c_void, length: usize) -> u64
[src]
pub unsafe fn MakeDirect(data: *const c_void, length: usize) -> u64
[src]
pub unsafe fn Make(data: sk_sp<SkData>) -> u64
[src]
pub unsafe fn setMemoryOwned(&mut self, data: *const c_void, length: usize)
[src]
pub unsafe fn setData(&mut self, data: sk_sp<SkData>)
[src]
pub unsafe fn skipToAlign4(&mut self)
[src]
pub unsafe fn getAtPos(&mut self) -> *const c_void
[src]
pub unsafe fn new() -> Self
[src]
pub unsafe fn new1(length: usize) -> Self
[src]
pub unsafe fn new2(data: *const c_void, length: usize, copyData: bool) -> Self
[src]
pub unsafe fn new3(data: sk_sp<SkData>) -> Self
[src]
Auto Trait Implementations
impl Unpin for SkMemoryStream
impl !Sync for SkMemoryStream
impl !Send for SkMemoryStream
impl UnwindSafe for SkMemoryStream
impl !RefUnwindSafe for SkMemoryStream
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> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,