Struct skia_bindings::SkGraphics
source · #[repr(C)]pub struct SkGraphics {
pub _address: u8,
}
Fields§
§_address: u8
Implementations§
source§impl SkGraphics
impl SkGraphics
pub unsafe fn Init()
pub unsafe fn GetFontCacheLimit() -> usize
pub unsafe fn SetFontCacheLimit(bytes: usize) -> usize
pub unsafe fn GetFontCacheUsed() -> usize
pub unsafe fn GetFontCacheCountUsed() -> c_int
pub unsafe fn GetFontCacheCountLimit() -> c_int
pub unsafe fn SetFontCacheCountLimit(count: c_int) -> c_int
pub unsafe fn PurgeFontCache()
pub unsafe fn PurgePinnedFontCache()
pub unsafe fn GetResourceCacheTotalBytesUsed() -> usize
pub unsafe fn GetResourceCacheTotalByteLimit() -> usize
pub unsafe fn SetResourceCacheTotalByteLimit(newLimit: usize) -> usize
pub unsafe fn PurgeResourceCache()
pub unsafe fn GetResourceCacheSingleAllocationByteLimit() -> usize
pub unsafe fn SetResourceCacheSingleAllocationByteLimit( newLimit: usize ) -> usize
pub unsafe fn DumpMemoryStatistics(dump: *mut SkTraceMemoryDump)
pub unsafe fn PurgeAllCaches()
pub unsafe fn SetImageGeneratorFromEncodedDataFactory( arg1: SkGraphics_ImageGeneratorFromEncodedDataFactory ) -> SkGraphics_ImageGeneratorFromEncodedDataFactory
pub unsafe fn SetOpenTypeSVGDecoderFactory( arg1: SkGraphics_OpenTypeSVGDecoderFactory ) -> SkGraphics_OpenTypeSVGDecoderFactory
pub unsafe fn GetOpenTypeSVGDecoderFactory( ) -> SkGraphics_OpenTypeSVGDecoderFactory
pub unsafe fn AllowJIT()
Trait Implementations§
source§impl Clone for SkGraphics
impl Clone for SkGraphics
source§fn clone(&self) -> SkGraphics
fn clone(&self) -> SkGraphics
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for SkGraphics
impl Debug for SkGraphics
impl Copy for SkGraphics
Auto Trait Implementations§
impl RefUnwindSafe for SkGraphics
impl Send for SkGraphics
impl Sync for SkGraphics
impl Unpin for SkGraphics
impl UnwindSafe for SkGraphics
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more