pub struct PointLight {
    pub x: f32,
    pub y: f32,
    pub z: f32,
}Expand description
A point light source.
fePointLight element in the SVG.
Fields§
§x: f32X location for the light source.
x in the SVG.
y: f32Y location for the light source.
y in the SVG.
z: f32Z location for the light source.
z in the SVG.
Trait Implementations§
Source§impl Clone for PointLight
 
impl Clone for PointLight
Source§fn clone(&self) -> PointLight
 
fn clone(&self) -> PointLight
Returns a duplicate 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 PointLight
 
impl Debug for PointLight
impl Copy for PointLight
Auto Trait Implementations§
impl Freeze for PointLight
impl RefUnwindSafe for PointLight
impl Send for PointLight
impl Sync for PointLight
impl Unpin for PointLight
impl UnwindSafe for PointLight
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