pub struct Minuters(/* private fields */);
Expand description
每小时的分钟配置。如配置(选中)0分、5分……58分
Implementations§
Trait Implementations§
Source§impl ConfigOperator for Minuters
impl ConfigOperator for Minuters
Source§const DEFAULT_MAX: u64 = 1_152_921_504_606_846_975u64
const DEFAULT_MAX: u64 = 1_152_921_504_606_846_975u64
满值:即全选的值,比如星期7天全选,则为二进制1111 1110
type DataTy = Minuter
fn min_val(&self) -> Self::DataTy
fn next(&self, index: Self::DataTy) -> Option<Self::DataTy>
fn _default() -> Self
fn _val(&self) -> u64
fn _val_mut(&mut self, val: u64)
fn default_value(val: Self::DataTy) -> Self
fn default_range(range: impl RangeBounds<Self::DataTy>) -> Result<Self>
fn default_all() -> Self
fn default_all_by_max(max: Self::DataTy) -> Self
fn default_array(vals: &[Self::DataTy]) -> Self
fn add_array(self, vals: &[Self::DataTy]) -> Self
fn add(self, index: Self::DataTy) -> Self
fn add_range(self, range: impl RangeBounds<Self::DataTy>) -> Result<Self>
Source§fn intersection(&self, other: &Self) -> Self
fn intersection(&self, other: &Self) -> Self
生成2者的交集
fn to_vec(&self) -> Vec<u64>
fn contain(&self, index: Self::DataTy) -> bool
impl Eq for Minuters
impl StructuralPartialEq for Minuters
Auto Trait Implementations§
impl Freeze for Minuters
impl RefUnwindSafe for Minuters
impl Send for Minuters
impl Sync for Minuters
impl Unpin for Minuters
impl UnwindSafe for Minuters
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