pub struct Lumens(pub f32);
Tuple Fields
0: f32
Implementations
Trait Implementations
sourceimpl From<Fluorescent> for Lumens
impl From<Fluorescent> for Lumens
sourcefn from(watts: Fluorescent) -> Lumens
fn from(watts: Fluorescent) -> Lumens
Converts to this type from the input type.
sourceimpl From<Incandescent> for Lumens
impl From<Incandescent> for Lumens
sourcefn from(watts: Incandescent) -> Lumens
fn from(watts: Incandescent) -> Lumens
Converts to this type from the input type.
sourceimpl From<Lumens> for Fluorescent
impl From<Lumens> for Fluorescent
sourcefn from(lm: Lumens) -> Fluorescent
fn from(lm: Lumens) -> Fluorescent
Converts to this type from the input type.
sourceimpl From<Lumens> for Incandescent
impl From<Lumens> for Incandescent
sourcefn from(lm: Lumens) -> Incandescent
fn from(lm: Lumens) -> Incandescent
Converts to this type from the input type.
impl Copy for Lumens
impl StructuralPartialEq for Lumens
Auto Trait Implementations
impl RefUnwindSafe for Lumens
impl Send for Lumens
impl Sync for Lumens
impl Unpin for Lumens
impl UnwindSafe for Lumens
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
impl<T> Pointable for T
impl<T> Pointable for T
impl<T> SetParameter for T
impl<T> SetParameter for T
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
fn set<T>(&mut self, value: T) -> <T as Parameter<Self>>::Resultwhere
T: Parameter<Self>,
Sets
value
as a parameter of self
.