pub struct SpecRootIdentity {
pub spec_dir: String,
pub root_yaml: String,
}Expand description
Stable identity for where a YAML spec tree is rooted (directory of linked fragments + entry file).
Fields§
§spec_dir: StringCanonical directory containing top-level YAML (or jan://embedded for the bundled tree).
root_yaml: StringEntry YAML file name relative to spec_dir (for disk specs) or a virtual label for embedded.
Trait Implementations§
Source§impl Clone for SpecRootIdentity
impl Clone for SpecRootIdentity
Source§fn clone(&self) -> SpecRootIdentity
fn clone(&self) -> SpecRootIdentity
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for SpecRootIdentity
impl RefUnwindSafe for SpecRootIdentity
impl Send for SpecRootIdentity
impl Sync for SpecRootIdentity
impl Unpin for SpecRootIdentity
impl UnsafeUnpin for SpecRootIdentity
impl UnwindSafe for SpecRootIdentity
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