skia_
safe
0.81.0
Data
Table
Aliased type
Methods
at
at_size
at_str
at_t
count
from_slice
from_slices
is_empty
iter
new_empty
Trait Implementations
Debug
Index<usize>
Send
Sync
In crate skia_
safe
skia_safe
Type Alias
DataTable
Copy item path
Source
pub type DataTable =
RCHandle
<SkDataTable>;
Aliased Type
§
struct DataTable(
/* private fields */
);
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
Source
§
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