pub struct SmartCalcConfig { /* private fields */ }
Implementations§
Source§impl 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 Freeze for SmartCalcConfig
impl !RefUnwindSafe for SmartCalcConfig
impl !Send for SmartCalcConfig
impl !Sync for SmartCalcConfig
impl Unpin for SmartCalcConfig
impl !UnwindSafe for SmartCalcConfig
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