pub struct Dielectric {
pub refraction_index: f64,
}
Fields§
§refraction_index: f64
Implementations§
Trait Implementations§
Source§impl Clone for Dielectric
impl Clone for Dielectric
Source§fn clone(&self) -> Dielectric
fn clone(&self) -> Dielectric
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 Material for Dielectric
impl Material for Dielectric
impl Copy for Dielectric
Auto Trait Implementations§
impl Freeze for Dielectric
impl RefUnwindSafe for Dielectric
impl Send for Dielectric
impl Sync for Dielectric
impl Unpin for Dielectric
impl UnwindSafe for Dielectric
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