Struct freya_engine::prelude::svg::fe::lighting::KernelUnitLength
#[repr(C)]pub struct KernelUnitLength {
pub dx: f32,
pub dy: f32,
}
Fields§
§dx: f32
§dy: f32
Implementations§
§impl KernelUnitLength
impl KernelUnitLength
pub fn new(dx: f32, dy: f32) -> KernelUnitLength
pub fn new_all(value: f32) -> KernelUnitLength
Trait Implementations§
§impl Clone for KernelUnitLength
impl Clone for KernelUnitLength
§fn clone(&self) -> KernelUnitLength
fn clone(&self) -> KernelUnitLength
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 more§impl Debug for KernelUnitLength
impl Debug for KernelUnitLength
impl Copy for KernelUnitLength
Auto Trait Implementations§
impl Freeze for KernelUnitLength
impl RefUnwindSafe for KernelUnitLength
impl Send for KernelUnitLength
impl Sync for KernelUnitLength
impl Unpin for KernelUnitLength
impl UnwindSafe for KernelUnitLength
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)