pub struct FlakeReferenceParseFlags { /* private fields */ }Expand description
Parameters for parsing a flake reference.
Implementations§
Source§impl FlakeReferenceParseFlags
impl FlakeReferenceParseFlags
pub fn new(settings: &FlakeSettings) -> Result<Self>
Sourcepub fn set_base_directory(&mut self, base_directory: &str) -> Result<()>
pub fn set_base_directory(&mut self, base_directory: &str) -> Result<()>
Sets the base directory for resolving local flake references.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for FlakeReferenceParseFlags
impl RefUnwindSafe for FlakeReferenceParseFlags
impl !Send for FlakeReferenceParseFlags
impl !Sync for FlakeReferenceParseFlags
impl Unpin for FlakeReferenceParseFlags
impl UnwindSafe for FlakeReferenceParseFlags
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