pub struct RegularTimeDimension {
pub origin: i64,
pub step: Box<TimeStep>,
}Fields§
§origin: i64§step: Box<TimeStep>Implementations§
Source§impl RegularTimeDimension
impl RegularTimeDimension
pub fn new(origin: i64, step: TimeStep) -> RegularTimeDimension
Trait Implementations§
Source§impl Clone for RegularTimeDimension
impl Clone for RegularTimeDimension
Source§fn clone(&self) -> RegularTimeDimension
fn clone(&self) -> RegularTimeDimension
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · 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 RegularTimeDimension
impl Debug for RegularTimeDimension
Source§impl Default for RegularTimeDimension
impl Default for RegularTimeDimension
Source§fn default() -> RegularTimeDimension
fn default() -> RegularTimeDimension
Returns the “default value” for a type. Read more
Source§impl<'de> Deserialize<'de> for RegularTimeDimension
impl<'de> Deserialize<'de> for RegularTimeDimension
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for RegularTimeDimension
impl PartialEq for RegularTimeDimension
Source§fn eq(&self, other: &RegularTimeDimension) -> bool
fn eq(&self, other: &RegularTimeDimension) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl Serialize for RegularTimeDimension
impl Serialize for RegularTimeDimension
impl StructuralPartialEq for RegularTimeDimension
Auto Trait Implementations§
impl Freeze for RegularTimeDimension
impl RefUnwindSafe for RegularTimeDimension
impl Send for RegularTimeDimension
impl Sync for RegularTimeDimension
impl Unpin for RegularTimeDimension
impl UnsafeUnpin for RegularTimeDimension
impl UnwindSafe for RegularTimeDimension
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