Struct usvg_tree::filter::DiffuseLighting
source · pub struct DiffuseLighting {
pub input: Input,
pub surface_scale: f32,
pub diffuse_constant: f32,
pub lighting_color: Color,
pub light_source: LightSource,
}Expand description
A diffuse lighting filter primitive.
feDiffuseLighting element in the SVG.
Fields§
§input: InputIdentifies input for the given filter primitive.
in in the SVG.
surface_scale: f32A surface scale.
surfaceScale in the SVG.
diffuse_constant: f32A diffuse constant.
diffuseConstant in the SVG.
lighting_color: ColorA lighting color.
lighting-color in the SVG.
light_source: LightSourceA light source.
Trait Implementations§
source§impl Clone for DiffuseLighting
impl Clone for DiffuseLighting
source§fn clone(&self) -> DiffuseLighting
fn clone(&self) -> DiffuseLighting
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 RefUnwindSafe for DiffuseLighting
impl Send for DiffuseLighting
impl Sync for DiffuseLighting
impl Unpin for DiffuseLighting
impl UnwindSafe for DiffuseLighting
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