pub struct Luminosity(pub u16);Expand description
Solar luminosity in watts per square metre.
Tuple Fields§
§0: u16Implementations§
Trait Implementations§
Source§impl Clone for Luminosity
impl Clone for Luminosity
Source§fn clone(&self) -> Luminosity
fn clone(&self) -> Luminosity
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 moreSource§impl Debug for Luminosity
impl Debug for Luminosity
Source§impl PartialEq for Luminosity
impl PartialEq for Luminosity
Source§fn eq(&self, other: &Luminosity) -> bool
fn eq(&self, other: &Luminosity) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Copy for Luminosity
impl Eq for Luminosity
impl StructuralPartialEq for Luminosity
Auto Trait Implementations§
impl Freeze for Luminosity
impl RefUnwindSafe for Luminosity
impl Send for Luminosity
impl Sync for Luminosity
impl Unpin for Luminosity
impl UnsafeUnpin for Luminosity
impl UnwindSafe for Luminosity
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