pub struct FileProvider {
pub inline: Option<Box<dyn InlineProvider>>,
pub shell: Option<Box<dyn ShellProvider>>,
}Fields§
§inline: Option<Box<dyn InlineProvider>>§shell: Option<Box<dyn ShellProvider>>Implementations§
Source§impl FileProvider
impl FileProvider
pub fn new( i: Option<Box<dyn InlineProvider>>, s: Option<Box<dyn ShellProvider>>, ) -> FileProvider
pub fn mode(&self, name: &'static str) -> Box<HandleFunc>
Auto Trait Implementations§
impl !RefUnwindSafe for FileProvider
impl !Send for FileProvider
impl !Sync for FileProvider
impl !UnwindSafe for FileProvider
impl Freeze for FileProvider
impl Unpin for FileProvider
impl UnsafeUnpin for FileProvider
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