skia_
safe
0.81.0
Font
Style
Set
Aliased type
Methods
count
match_style
new_empty
new_typeface
style
Trait Implementations
Debug
Default
In crate skia_
safe
skia_safe
Type Alias
FontStyleSet
Copy item path
Source
pub type FontStyleSet =
RCHandle
<SkFontStyleSet>;
Aliased Type
§
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