Type Definition skia_safe::gpu::gl::Extensions

source ·
pub type Extensions = Handle<GrGLExtensions>;

Implementations§

source§

impl Extensions

source

pub fn is_initialized(&self) -> bool

source

pub fn has(&self, extension: impl AsRef<str>) -> bool

source

pub fn remove(&mut self, extension: impl AsRef<str>) -> bool

source

pub fn add(&mut self, extension: impl AsRef<str>)

source

pub fn reset(&mut self)

Trait Implementations§

source§

impl Debug for Extensions

source§

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

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

impl Send for Extensions

source§

impl Sync for Extensions