Enum icalendar_duration::Sign
source · [−]pub enum Sign {
Positive,
Negative,
}
Expand description
The sign for a duration (which can be negative or positive).
The default is positive, as the absence of an explicit sign implies positive.
Variants
Positive
Negative
Trait Implementations
sourceimpl MulAssign<Sign> for Rfc5545Duration
impl MulAssign<Sign> for Rfc5545Duration
sourcefn mul_assign(&mut self, rhs: Sign)
fn mul_assign(&mut self, rhs: Sign)
Performs the *=
operation. Read more
sourceimpl PartialEq<Sign> for Sign
impl PartialEq<Sign> for Sign
impl Eq for Sign
impl StructuralEq for Sign
impl StructuralPartialEq for Sign
Auto Trait Implementations
impl RefUnwindSafe for Sign
impl Send for Sign
impl Sync for Sign
impl Unpin for Sign
impl UnwindSafe for Sign
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