pub struct DirectoryAsModuleSourceOpts<'a> {
pub source_root_path: Option<&'a str>,
}
Fields§
§source_root_path: Option<&'a str>
An optional subpath of the directory which contains the module’s configuration file. If not set, the module source code is loaded from the root of the directory.
Trait Implementations§
Source§impl<'a> Debug for DirectoryAsModuleSourceOpts<'a>
impl<'a> Debug for DirectoryAsModuleSourceOpts<'a>
Source§impl<'a> PartialEq for DirectoryAsModuleSourceOpts<'a>
impl<'a> PartialEq for DirectoryAsModuleSourceOpts<'a>
Source§fn eq(&self, other: &DirectoryAsModuleSourceOpts<'a>) -> bool
fn eq(&self, other: &DirectoryAsModuleSourceOpts<'a>) -> bool
Tests for
self
and other
values to be equal, and is used by ==
.impl<'a> StructuralPartialEq for DirectoryAsModuleSourceOpts<'a>
Auto Trait Implementations§
impl<'a> Freeze for DirectoryAsModuleSourceOpts<'a>
impl<'a> RefUnwindSafe for DirectoryAsModuleSourceOpts<'a>
impl<'a> Send for DirectoryAsModuleSourceOpts<'a>
impl<'a> Sync for DirectoryAsModuleSourceOpts<'a>
impl<'a> Unpin for DirectoryAsModuleSourceOpts<'a>
impl<'a> UnwindSafe for DirectoryAsModuleSourceOpts<'a>
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