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: &Directory,
directory: Directory,
) -> Result<Self, FromFileError>
fn from_directory( monorepo_root: &Directory, directory: Directory, ) -> Result<Self, FromFileError>
Create an instance of this configuration file by reading
the specified file from this directory on disk.
Source§fn directory(&self) -> &Directory
fn directory(&self) -> &Directory
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 Freeze for TypescriptParentProjectReference
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