pub struct LoadingConfig {
pub designer: Designer,
pub cache_ttl: Option<Duration>,
/* private fields */
}
Fields§
§designer: Designer
§cache_ttl: Option<Duration>
Implementations§
Source§impl LoadingConfig
impl LoadingConfig
pub fn new(log_level: LogLevel) -> Self
pub fn with_level(self, level: u32) -> Self
pub fn with_log_level(self, log_level: LogLevel) -> Self
pub fn child(self) -> Self
pub fn with_cache_ttl(self, ttl: Option<Duration>) -> Self
Trait Implementations§
Source§impl Clone for LoadingConfig
impl Clone for LoadingConfig
Source§fn clone(&self) -> LoadingConfig
fn clone(&self) -> LoadingConfig
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl Debug for LoadingConfig
impl Debug for LoadingConfig
Auto Trait Implementations§
impl Freeze for LoadingConfig
impl RefUnwindSafe for LoadingConfig
impl Send for LoadingConfig
impl Sync for LoadingConfig
impl Unpin for LoadingConfig
impl UnwindSafe for LoadingConfig
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