pub struct SpecularLighting {
pub input: Input,
pub surface_scale: f32,
pub specular_constant: f32,
pub specular_exponent: f32,
pub lighting_color: Color,
pub light_source: LightSource,
}
Expand description
A specular lighting filter primitive.
feSpecularLighting
element in the SVG.
Fields§
§input: Input
Identifies input for the given filter primitive.
in
in the SVG.
surface_scale: f32
A surface scale.
surfaceScale
in the SVG.
specular_constant: f32
A specular constant.
specularConstant
in the SVG.
specular_exponent: f32
A specular exponent.
Should be in 1..128 range.
specularExponent
in the SVG.
lighting_color: Color
A lighting color.
lighting-color
in the SVG.
light_source: 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