Type Definition skia_safe::DataTable

source ·
pub type DataTable = RCHandle<SkDataTable>;

Implementations§

source§

impl DataTable

source

pub fn is_empty(&self) -> bool

source

pub fn count(&self) -> usize

source

pub fn at_size(&self, index: usize) -> usize

source

pub fn at(&self, index: usize) -> &[u8]

source

pub unsafe fn at_t<T: Copy>(&self, index: usize) -> &[T]

source

pub fn at_str(&self, index: usize) -> &CStr

source

pub fn new_empty() -> Self

source

pub fn from_slices(slices: &[&[u8]]) -> Self

source

pub fn from_slice<T: Copy>(slice: &[T]) -> Self

source

pub fn iter(&self) -> Iter<'_>

Trait Implementations§

source§

impl Debug for DataTable

source§

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

Formats the value using the given formatter. Read more
source§

impl Index<usize> for DataTable

§

type Output = [u8]

The returned type after indexing.
source§

fn index(&self, index: usize) -> &Self::Output

Performs the indexing (container[index]) operation. Read more
source§

impl Send for DataTable

source§

impl Sync for DataTable