Struct plugx_config::loader::closure::ConfigurationLoaderFn
source · pub struct ConfigurationLoaderFn { /* private fields */ }Expand description
Builder struct.
Implementations§
source§impl ConfigurationLoaderFn
impl ConfigurationLoaderFn
pub fn new<S: AsRef<str>, N: AsRef<str>>( name: N, loader: BoxedLoaderFn, scheme: S ) -> Self
pub fn set_name<N: AsRef<str>>(&mut self, name: N)
pub fn with_name<N: AsRef<str>>(self, name: N) -> Self
pub fn set_loader(&mut self, loader: BoxedLoaderFn)
pub fn with_loader(self, loader: BoxedLoaderFn) -> Self
pub fn set_scheme_list<S: AsRef<str>>(&mut self, scheme_list: Vec<S>)
pub fn with_scheme_list<S: AsRef<str>>(self, scheme_list: Vec<S>) -> Self
Trait Implementations§
Auto Trait Implementations§
impl !RefUnwindSafe for ConfigurationLoaderFn
impl Send for ConfigurationLoaderFn
impl Sync for ConfigurationLoaderFn
impl Unpin for ConfigurationLoaderFn
impl !UnwindSafe for ConfigurationLoaderFn
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