Struct usvg_tree::filter::DistantLight
source · pub struct DistantLight {
pub azimuth: f32,
pub elevation: f32,
}
Expand description
A distant light source.
feDistantLight
element in the SVG.
Fields§
§azimuth: f32
Direction angle for the light source on the XY plane (clockwise), in degrees from the x axis.
azimuth
in the SVG.
elevation: f32
Direction angle for the light source from the XY plane towards the z axis, in degrees.
elevation
in the SVG.
Trait Implementations§
source§impl Clone for DistantLight
impl Clone for DistantLight
source§fn clone(&self) -> DistantLight
fn clone(&self) -> DistantLight
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 moresource§impl 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§
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