Enum tz::timezone::TransitionRule
source · [−]pub enum TransitionRule {
Fixed(LocalTimeType),
Alternate(AlternateTime),
}Expand description
Transition rule
Variants
Fixed(LocalTimeType)
Fixed local time type
Alternate(AlternateTime)
Alternate local time types
Trait Implementations
sourceimpl Clone for TransitionRule
impl Clone for TransitionRule
sourcefn clone(&self) -> TransitionRule
fn clone(&self) -> TransitionRule
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source. Read more
sourceimpl Debug for TransitionRule
impl Debug for TransitionRule
sourceimpl PartialEq<TransitionRule> for TransitionRule
impl PartialEq<TransitionRule> for TransitionRule
sourcefn eq(&self, other: &TransitionRule) -> bool
fn eq(&self, other: &TransitionRule) -> bool
This method tests for self and other values to be equal, and is used
by ==. Read more
sourcefn ne(&self, other: &TransitionRule) -> bool
fn ne(&self, other: &TransitionRule) -> bool
This method tests for !=.
impl Copy for TransitionRule
impl Eq for TransitionRule
impl StructuralEq for TransitionRule
impl StructuralPartialEq for TransitionRule
Auto Trait Implementations
impl RefUnwindSafe for TransitionRule
impl Send for TransitionRule
impl Sync for TransitionRule
impl Unpin for TransitionRule
impl UnwindSafe for TransitionRule
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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