Struct timer_util::Hours
source · [−]pub struct Hours(_);
Trait Implementations
sourceimpl Operator for Hours
impl Operator for Hours
const MIN: Self::ValTy = {transmute(0x00000000): ::ValTy}
const MAX: Self::ValTy = {transmute(0x00000017): ::ValTy}
const ONE: Self::ValTy = {transmute(0x00000001): ::ValTy}
const ZERO: Self::ValTy = {transmute(0x00000000): ::ValTy}
const DEFAULT_MAX: Self::ValTy = {transmute(0x00ffffff): ::ValTy}
type ValTy = u32
fn _default() -> Self
fn _val(&self) -> Self::ValTy
fn _mut_val(&mut self, val: Self::ValTy)
fn default_value(val: impl AsData<Self::ValTy>) -> Self
fn default_range<A: AsData<Self::ValTy>>(
range: impl RangeBounds<A>
) -> Result<Self>
fn default_all() -> Self
fn default_array(vals: &[impl AsData<Self::ValTy>]) -> Self
fn add_array(self, vals: &[impl AsData<Self::ValTy>]) -> Self
fn add(self, index: impl AsData<Self::ValTy>) -> Self
fn add_range<A: AsData<Self::ValTy>>(
self,
range: impl RangeBounds<A>
) -> Result<Self>
fn to_vec(&self) -> Vec<Self::ValTy>
fn contain<D: AsData<Self::ValTy>>(&self, index: D) -> bool
Auto Trait Implementations
impl RefUnwindSafe for Hours
impl Send for Hours
impl Sync for Hours
impl Unpin for Hours
impl UnwindSafe for Hours
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
sourceimpl<T> ToOwned for T where
T: Clone,
impl<T> ToOwned for T where
T: Clone,
type Owned = T
type Owned = T
The resulting type after obtaining ownership.
sourcefn clone_into(&self, target: &mut T)
fn clone_into(&self, target: &mut T)
🔬 This is a nightly-only experimental API. (
toowned_clone_into
)Uses borrowed data to replace owned data, usually by cloning. Read more