[−][src]Struct skia_bindings::SkGraphics
Fields
_address: u8
Methods
impl SkGraphics
[src]
pub unsafe fn Init()
[src]
pub unsafe fn GetFontCacheLimit() -> usize
[src]
pub unsafe fn SetFontCacheLimit(bytes: usize) -> usize
[src]
pub unsafe fn GetFontCacheUsed() -> usize
[src]
pub unsafe fn GetFontCacheCountUsed() -> c_int
[src]
pub unsafe fn GetFontCacheCountLimit() -> c_int
[src]
pub unsafe fn SetFontCacheCountLimit(count: c_int) -> c_int
[src]
pub unsafe fn GetFontCachePointSizeLimit() -> c_int
[src]
pub unsafe fn SetFontCachePointSizeLimit(maxPointSize: c_int) -> c_int
[src]
pub unsafe fn PurgeFontCache()
[src]
pub unsafe fn GetResourceCacheTotalBytesUsed() -> usize
[src]
pub unsafe fn GetResourceCacheTotalByteLimit() -> usize
[src]
pub unsafe fn SetResourceCacheTotalByteLimit(newLimit: usize) -> usize
[src]
pub unsafe fn PurgeResourceCache()
[src]
pub unsafe fn GetResourceCacheSingleAllocationByteLimit() -> usize
[src]
pub unsafe fn SetResourceCacheSingleAllocationByteLimit(
newLimit: usize
) -> usize
[src]
newLimit: usize
) -> usize
pub unsafe fn DumpMemoryStatistics(dump: *mut SkTraceMemoryDump)
[src]
pub unsafe fn PurgeAllCaches()
[src]
pub unsafe fn SetFlags(flags: *const c_char)
[src]
pub unsafe fn SetImageGeneratorFromEncodedDataFactory(
arg1: SkGraphics_ImageGeneratorFromEncodedDataFactory
) -> SkGraphics_ImageGeneratorFromEncodedDataFactory
[src]
arg1: SkGraphics_ImageGeneratorFromEncodedDataFactory
) -> SkGraphics_ImageGeneratorFromEncodedDataFactory
Trait Implementations
impl Clone for SkGraphics
[src]
fn clone(&self) -> SkGraphics
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Copy for SkGraphics
[src]
Auto Trait Implementations
impl Unpin for SkGraphics
impl Sync for SkGraphics
impl Send for SkGraphics
impl UnwindSafe for SkGraphics
impl RefUnwindSafe for SkGraphics
Blanket Implementations
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> From<T> for T
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,