Struct usvg::filter::PointLight
source · [−]Expand description
A point light source.
fePointLight
element in the SVG.
Fields
x: f64
X location for the light source.
x
in the SVG.
y: f64
Y location for the light source.
y
in the SVG.
z: f64
Z location for the light source.
z
in the SVG.
Trait Implementations
sourceimpl Clone for PointLight
impl Clone for PointLight
sourcefn clone(&self) -> PointLight
fn clone(&self) -> PointLight
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 PointLight
impl Debug for PointLight
impl Copy for PointLight
Auto Trait Implementations
impl RefUnwindSafe for PointLight
impl Send for PointLight
impl Sync for PointLight
impl Unpin for PointLight
impl UnwindSafe for PointLight
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