Struct usvg::filter::DistantLight
source · [−]Expand description
A distant light source.
feDistantLight
element in the SVG.
Fields
azimuth: f64
Direction angle for the light source on the XY plane (clockwise), in degrees from the x axis.
azimuth
in the SVG.
elevation: f64
Direction angle for the light source from the XY plane towards the z axis, in degrees.
elevation
in the SVG.
Trait Implementations
sourceimpl Clone for DistantLight
impl Clone for DistantLight
sourcefn clone(&self) -> DistantLight
fn clone(&self) -> DistantLight
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for DistantLight
impl Debug for DistantLight
impl Copy for DistantLight
Auto Trait Implementations
impl RefUnwindSafe for DistantLight
impl Send for DistantLight
impl Sync for DistantLight
impl Unpin for DistantLight
impl UnwindSafe for DistantLight
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more