pub struct Loader { /* private fields */ }
Implementations§
Source§impl Loader
impl Loader
pub fn i64(&self, name: &str) -> i64
pub fn u64(&self, name: &str) -> u64
pub fn f64(&self, name: &str) -> f64
pub fn str(&self, name: &str) -> String
pub fn bool(&self, name: &str) -> bool
pub fn json(&self, name: &str) -> Value
pub fn custom<T, F>(&self, name: &str, f: F) -> T
Trait Implementations§
Auto Trait Implementations§
impl Freeze for Loader
impl RefUnwindSafe for Loader
impl Send for Loader
impl Sync for Loader
impl Unpin for Loader
impl UnwindSafe for Loader
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