pub struct Spec {
pub requirements: Vec<Requirement>,
pub design: Option<String>,
pub bugfix: bool,
}Expand description
A spec’s files, read.
Fields§
§requirements: Vec<Requirement>Its requirements, in order (none for a bugfix spec).
design: Option<String>design.md, if present.
bugfix: boolA bugfix spec: bugfix.md and no requirements.md.
Trait Implementations§
impl Eq for Spec
impl StructuralPartialEq for Spec
Auto Trait Implementations§
impl Forget for Spec
impl Freeze for Spec
impl RefUnwindSafe for Spec
impl Send for Spec
impl Sync for Spec
impl Unpin for Spec
impl UnsafeUnpin for Spec
impl UnwindSafe for Spec
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