#[repr(C)]
pub struct SkTDStorage { pub fSizeOfT: c_int, pub fStorage: *mut std_byte, pub fCapacity: c_int, pub fSize: c_int, }

Fields§

§fSizeOfT: c_int§fStorage: *mut std_byte§fCapacity: c_int§fSize: c_int

Implementations§

source§

impl SkTDStorage

source

pub unsafe fn reset(&mut self)

source

pub unsafe fn swap(&mut self, that: *mut SkTDStorage)

source

pub unsafe fn resize(&mut self, newSize: c_int)

source

pub unsafe fn reserve(&mut self, newCapacity: c_int)

source

pub unsafe fn shrink_to_fit(&mut self)

source

pub unsafe fn erase(&mut self, index: c_int, count: c_int)

source

pub unsafe fn removeShuffle(&mut self, index: c_int)

source

pub unsafe fn prepend(&mut self) -> *mut c_void

source

pub unsafe fn append(&mut self)

source

pub unsafe fn append1(&mut self, count: c_int)

source

pub unsafe fn append2( &mut self, src: *const c_void, count: c_int ) -> *mut c_void

source

pub unsafe fn insert(&mut self, index: c_int) -> *mut c_void

source

pub unsafe fn insert1( &mut self, index: c_int, count: c_int, src: *const c_void ) -> *mut c_void

source

pub unsafe fn new(sizeOfT: c_int) -> Self

source

pub unsafe fn new1(src: *const c_void, size: c_int, sizeOfT: c_int) -> Self

source

pub unsafe fn new2(that: *const SkTDStorage) -> Self

source

pub unsafe fn new3(that: *mut SkTDStorage) -> Self

source

pub unsafe fn destruct(&mut self)

Trait Implementations§

source§

impl Debug for SkTDStorage

source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more

Auto Trait Implementations§

Blanket Implementations§

source§

impl<T> Any for Twhere T: 'static + ?Sized,

source§

fn type_id(&self) -> TypeId

Gets the TypeId of self. Read more
source§

impl<T> Borrow<T> for Twhere T: ?Sized,

source§

fn borrow(&self) -> &T

Immutably borrows from an owned value. Read more
source§

impl<T> BorrowMut<T> for Twhere T: ?Sized,

source§

fn borrow_mut(&mut self) -> &mut T

Mutably borrows from an owned value. Read more
source§

impl<T> From<T> for T

source§

fn from(t: T) -> T

Returns the argument unchanged.

source§

impl<T, U> Into<U> for Twhere U: From<T>,

source§

fn into(self) -> U

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

source§

impl<T, U> TryFrom<U> for Twhere U: Into<T>,

§

type Error = Infallible

The type returned in the event of a conversion error.
source§

fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>

Performs the conversion.
source§

impl<T, U> TryInto<U> for Twhere U: TryFrom<T>,

§

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.
source§

fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>

Performs the conversion.