skia_
safe
0.81.0
Interface
Aliased type
Methods
extensions
extensions_mut
has_extension
new_load_with
new_load_with_cstr
new_native
validate
Trait Implementations
Debug
In skia_
safe::
gpu::
ganesh::
gl::
interface
skia_safe
::
gpu
::
ganesh
::
gl
::
interface
Type Alias
Interface
Copy item path
Source
pub type Interface =
RCHandle
<GrGLInterface>;
Aliased Type
§
struct Interface(
/* private fields */
);
Implementations
§
Source
§
impl
Interface
Source
pub fn
new_native
() ->
Option
<Self>
Source
pub fn
new_load_with
<F>(load_fn: F) ->
Option
<Self>
where F:
FnMut
(&
str
) ->
*const
c_void
,
Source
pub fn
new_load_with_cstr
<F>(load_fn: F) ->
Option
<Self>
where F:
FnMut
(&
CStr
) ->
*const
c_void
,
Source
pub fn
validate
(&self) ->
bool
Source
pub fn
extensions
(&self) -> &
Extensions
Source
pub fn
extensions_mut
(&mut self) -> &mut
Extensions
Source
pub fn
has_extension
(&self, extension: impl
AsRef
<
str
>) ->
bool
Trait Implementations
§
Source
§
impl
Debug
for
Interface
Source
§
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
Formats the value using the given formatter.
Read more