skia_
safe
0.81.0
Decoder
Aliased type
Methods
from_stream
id
is_format
Trait Implementations
Debug
Send
Sync
In skia_
safe::
codec::
codecs
skia_safe
::
codec
::
codecs
Type Alias
Decoder
Copy item path
Source
pub type Decoder =
Handle
<SkCodecs_Decoder>;
Aliased Type
§
struct Decoder(
/* private fields */
);
Implementations
§
Source
§
impl
Decoder
Source
pub fn
id
(&self) -> &'static
str
Source
pub fn
is_format
(&self, data: &[
u8
]) ->
bool
Source
pub fn
from_stream
<'a>( &self, stream: &'a mut impl
Read
, ) ->
Result
<
Codec
<'a>,
Result
>
Trait Implementations
§
Source
§
impl
Debug
for
Decoder
Source
§
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
Formats the value using the given formatter.
Read more
Source
§
impl
Send
for
Decoder
Source
§
impl
Sync
for
Decoder