Struct smartcalc::SmartCalcConfig
source · [−]pub struct SmartCalcConfig { /* private fields */ }
Implementations
sourceimpl SmartCalcConfig
impl SmartCalcConfig
pub fn get_time_offset(&self) -> TimeOffset
pub fn get_currency<T: Borrow<String>>(
&self,
currency: T
) -> Option<Rc<CurrencyInfo>>
pub fn load_from_json(json_data: &str) -> Self
Trait Implementations
Auto Trait Implementations
impl !RefUnwindSafe for SmartCalcConfig
impl !Send for SmartCalcConfig
impl !Sync for SmartCalcConfig
impl Unpin for SmartCalcConfig
impl !UnwindSafe for SmartCalcConfig
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