pub struct IndexOfRefraction(/* private fields */);Expand description
Index of refraction for a medium (ratio of c to phase velocity).
Implementations§
Trait Implementations§
Source§impl Clone for IndexOfRefraction
impl Clone for IndexOfRefraction
Source§fn clone(&self) -> IndexOfRefraction
fn clone(&self) -> IndexOfRefraction
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 IndexOfRefraction
impl Debug for IndexOfRefraction
Source§impl Default for IndexOfRefraction
impl Default for IndexOfRefraction
Source§fn default() -> IndexOfRefraction
fn default() -> IndexOfRefraction
Returns the “default value” for a type. Read more
Source§impl From<IndexOfRefraction> for f64
impl From<IndexOfRefraction> for f64
Source§fn from(val: IndexOfRefraction) -> Self
fn from(val: IndexOfRefraction) -> Self
Converts to this type from the input type.
Source§impl PartialEq for IndexOfRefraction
impl PartialEq for IndexOfRefraction
Source§impl PartialOrd for IndexOfRefraction
impl PartialOrd for IndexOfRefraction
impl Copy for IndexOfRefraction
impl StructuralPartialEq for IndexOfRefraction
Auto Trait Implementations§
impl Freeze for IndexOfRefraction
impl RefUnwindSafe for IndexOfRefraction
impl Send for IndexOfRefraction
impl Sync for IndexOfRefraction
impl Unpin for IndexOfRefraction
impl UnsafeUnpin for IndexOfRefraction
impl UnwindSafe for IndexOfRefraction
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