Struct lightning_time::LightningTime
source · pub struct LightningTime {
pub bolts: u8,
pub bolt_colors: LightningBaseColors,
pub zaps: u8,
pub zap_colors: LightningBaseColors,
pub sparks: u8,
pub spark_colors: LightningBaseColors,
pub charges: u8,
}
Fields§
§bolts: u8
§bolt_colors: LightningBaseColors
§zaps: u8
§zap_colors: LightningBaseColors
§sparks: u8
§spark_colors: LightningBaseColors
§charges: u8
Implementations§
source§impl LightningTime
impl LightningTime
Trait Implementations§
source§impl Clone for LightningTime
impl Clone for LightningTime
source§fn clone(&self) -> LightningTime
fn clone(&self) -> LightningTime
Returns a copy 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 LightningTime
impl Debug for LightningTime
source§impl Default for LightningTime
impl Default for LightningTime
source§impl From<NaiveTime> for LightningTime
impl From<NaiveTime> for LightningTime
source§impl FromStr for LightningTime
impl FromStr for LightningTime
source§impl PartialEq for LightningTime
impl PartialEq for LightningTime
source§fn eq(&self, other: &LightningTime) -> bool
fn eq(&self, other: &LightningTime) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl ToString for LightningTime
impl ToString for LightningTime
source§impl TryInto<NaiveTime> for LightningTime
impl TryInto<NaiveTime> for LightningTime
impl Copy for LightningTime
impl Eq for LightningTime
impl StructuralEq for LightningTime
impl StructuralPartialEq for LightningTime
Auto Trait Implementations§
impl RefUnwindSafe for LightningTime
impl Send for LightningTime
impl Sync for LightningTime
impl Unpin for LightningTime
impl UnwindSafe for LightningTime
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