[−][src]Struct jobrog::configure::Configuration
Fields
day_length: f32
editor: Option<Vec<String>>
length_pay_period: u32
precision: Precision
truncation: Truncation
start_pay_period: Option<NaiveDate>
sunday_begins_week: bool
beginning_work_day: (usize, usize)
workdays: u8
max_width: Option<usize>
h12: bool
style_map: BTreeMap<String, String>
Implementations
impl Configuration
[src]
pub fn width(&self) -> usize
[src]
pub fn read(path: Option<PathBuf>, directory: Option<&str>) -> Configuration
[src]
pub fn write(&self)
[src]
pub fn directory(&self) -> Option<&str>
[src]
pub fn workdays(&mut self, workdays: &str)
[src]
pub fn effective_editor(&self) -> Option<(Vec<String>, Option<String>)>
[src]
pub fn effective_color(&self) -> (bool, Option<String>)
[src]
pub fn config_file(directory: Option<&str>) -> PathBuf
[src]
pub fn is_workday(&self, date: &NaiveDate) -> bool
[src]
pub fn two_timer_config(&self) -> Option<Config>
[src]
pub fn set_precision(&mut self, identifier: &str)
[src]
pub fn set_truncation(&mut self, identifier: &str)
[src]
Trait Implementations
impl Clone for Configuration
[src]
pub fn clone(&self) -> Configuration
[src]
pub fn clone_from(&mut self, source: &Self)
1.0.0[src]
Auto Trait Implementations
impl RefUnwindSafe for Configuration
impl Send for Configuration
impl Sync for Configuration
impl Unpin for Configuration
impl UnwindSafe for Configuration
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
pub fn to_owned(&self) -> T
[src]
pub fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
pub fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,