pub struct EmptyConfig;Expand description
A configuration that always returns None (tests, offline builds).
Trait Implementations§
Source§impl Clone for EmptyConfig
impl Clone for EmptyConfig
Source§fn clone(&self) -> EmptyConfig
fn clone(&self) -> EmptyConfig
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for EmptyConfig
Source§impl Debug for EmptyConfig
impl Debug for EmptyConfig
Source§impl Default for EmptyConfig
impl Default for EmptyConfig
Source§fn default() -> EmptyConfig
fn default() -> EmptyConfig
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl Freeze for EmptyConfig
impl RefUnwindSafe for EmptyConfig
impl Send for EmptyConfig
impl Sync for EmptyConfig
impl Unpin for EmptyConfig
impl UnsafeUnpin for EmptyConfig
impl UnwindSafe for EmptyConfig
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