Struct rrule::RRule [−][src]
pub struct RRule {
pub options: ParsedOptions,
}Fields
options: ParsedOptionsImplementations
impl RRule[src]
impl RRule[src]pub fn new(options: ParsedOptions) -> Self[src]
pub fn before(&self, dt: DateTime<Tz>, inc: bool) -> Option<DateTime<Tz>>[src]
pub fn before(&self, dt: DateTime<Tz>, inc: bool) -> Option<DateTime<Tz>>[src]Returns the last recurrence before the given datetime instance. The inc keyword defines what happens if dt is an recurrence. With inc == true, if dt itself is an recurrence, it will be returned.
pub fn after(&self, dt: DateTime<Tz>, inc: bool) -> Option<DateTime<Tz>>[src]
pub fn after(&self, dt: DateTime<Tz>, inc: bool) -> Option<DateTime<Tz>>[src]Returns the last recurrence after the given datetime instance. The inc keyword defines what happens if dt is an recurrence. With inc == true, if dt itself is an recurrence, it will be returned.
pub fn between(
&self,
after: DateTime<Tz>,
before: DateTime<Tz>,
inc: bool
) -> Vec<DateTime<Tz>>[src]
pub fn between(
&self,
after: DateTime<Tz>,
before: DateTime<Tz>,
inc: bool
) -> Vec<DateTime<Tz>>[src]Returns all the recurrences of the rrule between after and before. The inc keyword defines what happens if after and/or before are themselves recurrences. With inc == true, they will be included in the list, if they are found in the recurrence set.
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RRule
impl Send for RRule
impl Sync for RRule
impl Unpin for RRule
impl UnwindSafe for RRule
Blanket Implementations
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]pub fn borrow_mut(&mut self) -> &mut T[src]
pub fn borrow_mut(&mut self) -> &mut T[src]Mutably borrows from an owned value. Read more
impl<T> ToOwned for T where
T: Clone, [src]
impl<T> ToOwned for T where
T: Clone, [src]type Owned = T
type Owned = TThe resulting type after obtaining ownership.
pub fn to_owned(&self) -> T[src]
pub fn to_owned(&self) -> T[src]Creates owned data from borrowed data, usually by cloning. Read more
pub fn clone_into(&self, target: &mut T)[src]
pub fn clone_into(&self, target: &mut T)[src]🔬 This is a nightly-only experimental API. (toowned_clone_into)
recently added
Uses borrowed data to replace owned data, usually by cloning. Read more