[−][src]Struct salah::Configuration
A builder for the the Parameters.
It is recommended that this is used for setting all parameters that are needed.
Implementations
impl Configuration
[src]
pub fn new(fajr_angle: f64, isha_angle: f64) -> Configuration
[src]
pub fn with(method: Method, madhab: Madhab) -> Parameters
[src]
pub fn method<'a>(&'a mut self, method: Method) -> &'a mut Configuration
[src]
pub fn method_adjustments<'a>(
&'a mut self,
method_adjustments: TimeAdjustment
) -> &'a mut Configuration
[src]
&'a mut self,
method_adjustments: TimeAdjustment
) -> &'a mut Configuration
pub fn high_latitude_rule<'a>(
&'a mut self,
high_latitude_rule: HighLatitudeRule
) -> &'a mut Configuration
[src]
&'a mut self,
high_latitude_rule: HighLatitudeRule
) -> &'a mut Configuration
pub fn madhab<'a>(&'a mut self, madhab: Madhab) -> &'a mut Configuration
[src]
pub fn isha_interval<'a>(
&'a mut self,
isha_interval: i32
) -> &'a mut Configuration
[src]
&'a mut self,
isha_interval: i32
) -> &'a mut Configuration
pub fn done(&self) -> Parameters
[src]
Auto Trait Implementations
impl RefUnwindSafe for Configuration
[src]
impl Send for Configuration
[src]
impl Sync for Configuration
[src]
impl Unpin for Configuration
[src]
impl UnwindSafe for Configuration
[src]
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, 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>,