pub struct Refraction {
pub strength: f32,
pub chromatic_aberration: f32,
pub edge: f32,
}Fields§
§strength: f32§chromatic_aberration: f32§edge: f32Implementations§
Source§impl Refraction
impl Refraction
Trait Implementations§
Source§impl Clone for Refraction
impl Clone for Refraction
Source§fn clone(&self) -> Refraction
fn clone(&self) -> Refraction
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for Refraction
Source§impl Debug for Refraction
impl Debug for Refraction
Source§impl PartialEq for Refraction
impl PartialEq for Refraction
impl StructuralPartialEq for Refraction
Auto Trait Implementations§
impl Freeze for Refraction
impl RefUnwindSafe for Refraction
impl Send for Refraction
impl Sync for Refraction
impl Unpin for Refraction
impl UnsafeUnpin for Refraction
impl UnwindSafe for Refraction
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