☰
Interface
Methods
extensions
extensions_mut
has_extension
new_load_with
new_load_with_cstr
new_native
validate
Trait Implementations
Debug
In skia_safe::gpu::gl
?
Type Definition
skia_safe
::
gpu
::
gl
::
Interface
source
·
[
−
]
pub type Interface =
RCHandle
<
GrGLInterface
>;
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