pub struct DiffuseLighting { /* private fields */ }
Expand description
A diffuse lighting filter primitive.
feDiffuseLighting
element in the SVG.
Implementations§
source§impl DiffuseLighting
impl DiffuseLighting
sourcepub fn surface_scale(&self) -> f32
pub fn surface_scale(&self) -> f32
A surface scale.
surfaceScale
in the SVG.
sourcepub fn diffuse_constant(&self) -> f32
pub fn diffuse_constant(&self) -> f32
A diffuse constant.
diffuseConstant
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 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 Freeze for DiffuseLighting
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
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
)