pub struct DistantLight {
pub azimuth: f32,
pub elevation: f32,
}Expand description
A distant light source.
feDistantLight element in the SVG.
Fields§
§azimuth: f32Direction angle for the light source on the XY plane (clockwise), in degrees from the x axis.
azimuth in the SVG.
elevation: f32Direction 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
impl Copy for DistantLight
Auto Trait Implementations§
impl Forget for DistantLight
impl Freeze for DistantLight
impl Move for DistantLight
impl RefUnwindSafe for DistantLight
impl Send for DistantLight
impl Sync for DistantLight
impl Unpin for DistantLight
impl UnsafeUnpin 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