pub struct TypescriptParentProjectReference {
pub contents: TypescriptParentProjectReferenceFile,
/* private fields */
}
Fields§
§contents: TypescriptParentProjectReferenceFile
Trait Implementations§
source§impl ConfigurationFile for TypescriptParentProjectReference
impl ConfigurationFile for TypescriptParentProjectReference
type Contents = TypescriptParentProjectReferenceFile
source§fn from_directory(
monorepo_root: &Path,
directory: &Path
) -> Result<Self, FromFileError>
fn from_directory( monorepo_root: &Path, directory: &Path ) -> Result<Self, FromFileError>
Create an instance of this configuration file by reading
the specified file from this directory on disk.
source§fn directory(&self) -> PathBuf
fn directory(&self) -> PathBuf
Relative path to directory containing this configuration file,
from monorepo root.
fn contents(&self) -> &Self::Contents
fn write( monorepo_root: &Path, configuration_file: impl ConfigurationFile ) -> Result<(), WriteError>
Auto Trait Implementations§
impl RefUnwindSafe for TypescriptParentProjectReference
impl Send for TypescriptParentProjectReference
impl Sync for TypescriptParentProjectReference
impl Unpin for TypescriptParentProjectReference
impl UnwindSafe for TypescriptParentProjectReference
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