pub struct SpecularLighting { /* private fields */ }
Expand description
A specular lighting filter primitive.
feSpecularLighting
element in the SVG.
Implementations§
source§impl SpecularLighting
impl SpecularLighting
sourcepub fn surface_scale(&self) -> f32
pub fn surface_scale(&self) -> f32
A surface scale.
surfaceScale
in the SVG.
sourcepub fn specular_constant(&self) -> f32
pub fn specular_constant(&self) -> f32
A specular constant.
specularConstant
in the SVG.
sourcepub fn specular_exponent(&self) -> f32
pub fn specular_exponent(&self) -> f32
A specular exponent.
Should be in 1..128 range.
specularExponent
in the SVG.
sourcepub fn lighting_color(&self) -> Color
pub fn lighting_color(&self) -> Color
A lighting color.
lighting-color
in the SVG.
sourcepub fn light_source(&self) -> LightSource
pub fn light_source(&self) -> LightSource
A light source.
Trait Implementations§
source§impl Clone for SpecularLighting
impl Clone for SpecularLighting
source§fn clone(&self) -> SpecularLighting
fn clone(&self) -> SpecularLighting
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 moreAuto Trait Implementations§
impl Freeze for SpecularLighting
impl RefUnwindSafe for SpecularLighting
impl Send for SpecularLighting
impl Sync for SpecularLighting
impl Unpin for SpecularLighting
impl UnwindSafe for SpecularLighting
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)