skia_
safe
0.81.0
Specular
Aliased type
Methods
set_specular_constant
set_specular_exponent
specular_constant
specular_exponent
Trait Implementations
DebugAttributes
Default
In skia_
safe::
svg::
fe::
lighting
skia_safe
::
svg
::
fe
::
lighting
Type Alias
Specular
Copy item path
Source
pub type Specular =
RCHandle
<SkSVGFeSpecularLighting>;
Aliased Type
§
struct Specular(
/* private fields */
);
Implementations
§
Source
§
impl
Specular
Source
pub fn
specular_constant
(&self) ->
scalar
Source
pub fn
set_specular_constant
(&mut self, value:
scalar
)
Source
pub fn
specular_exponent
(&self) ->
scalar
Source
pub fn
set_specular_exponent
(&mut self, value:
scalar
)
Trait Implementations
§
Source
§
impl
DebugAttributes
for
Specular
Source
§
const
NAME
: &'static
str
= "FeSpecularLighting"
Source
§
fn
_dbg
(&self, builder: &mut
DebugStruct
<'_, '_>)
Source
§
impl
Default
for
Specular
Source
§
fn
default
() -> Self
Returns the “default value” for a type.
Read more