skia_safe::gpu::ganesh::gl::extensions

Type Alias Extensions

Source
pub type Extensions = Handle<GrGLExtensions>;

Aliased Type§

struct Extensions(/* private fields */);

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