Docs.rs
skia-safe-0.97.2
skia-safe 0.97.2
Permalink
Docs.rs crate page
MIT
Links
Homepage
Documentation
Repository
crates.io
Source
Owners
Brooooooklyn
pragmatrix
Dependencies
base64 ^0.22.0
normal
optional
bitflags ^2.0
normal
percent-encoding ^2.3.1
normal
optional
skia-bindings =0.97.2
normal
skia-svg-macros ^0.1.0
normal
optional
ureq ^3.0.4
normal
optional
windows ^0.62.0
normal
optional
serde ^1.0
dev
serde_json ^1.0
dev
serial_test ^3.0
dev
static_assertions ^1.1
dev
winit ^0.30.2
dev
zip ^8.1
dev
ash ^0.38.0
dev
gl ^0.14.0
dev
glutin ^0.32.0
dev
glutin-winit ^0.5.0
dev
raw-window-handle ^0.6.0
dev
vulkano ^0.35
dev
objc2 ^0.6.3
dev
objc2-core-foundation ^0.3.2
dev
objc2-metal ^0.3.2
dev
objc2-quartz-core ^0.3.2
dev
raw-window-handle ^0.6.0
dev
objc2-ui-kit ^0.3.2
dev
objc2-app-kit ^0.3.2
dev
anyhow ^1.0.75
dev
windows ^0.62.0
dev
Versions
43.5%
of the crate is documented
Platform
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
FontStyleSet
skia_
safe
0.97.2
Font
Style
Set
Aliased Type
Associated Functions
new_empty
Methods
count
match_style
new_typeface
style
Trait Implementations
Debug
Default
In crate skia_
safe
skia_safe
Type Alias
Font
Style
Set
Copy item path
Source
pub type FontStyleSet =
RCHandle
<
SkFontStyleSet
>;
Aliased Type
§
pub struct FontStyleSet(
/* private fields */
);
Implementations
§
Source
§
impl
FontStyleSet
Source
pub fn
count
(&mut self) ->
usize
Source
pub fn
style
(&mut self, index:
usize
) -> (
FontStyle
,
Option
<
String
>)
Source
pub fn
new_typeface
(&mut self, index:
usize
) ->
Option
<
Typeface
>
Source
pub fn
match_style
(&mut self, pattern:
FontStyle
) ->
Option
<
Typeface
>
Source
pub fn
new_empty
() -> Self
Trait Implementations
§
Source
§
impl
Debug
for
FontStyleSet
Source
§
fn
fmt
(&self, f: &mut
Formatter
<'_>) ->
Result
Formats the value using the given formatter.
Read more
Source
§
impl
Default
for
FontStyleSet
Source
§
fn
default
() -> Self
Returns the “default value” for a type.
Read more