pub struct AcceptanceCriteriaProgress { /* private fields */ }Expand description
Completion counts for Markdown task-list items in a PBI body.
Implementations§
Source§impl AcceptanceCriteriaProgress
impl AcceptanceCriteriaProgress
Sourcepub fn from_markdown(body: &str) -> Self
pub fn from_markdown(body: &str) -> Self
Parse Markdown task-list items from body.
Unordered and ordered list markers, nested items, and blockquotes are accepted. Fenced code blocks are ignored so examples in a PBI body do not affect its progress.
Sourcepub const fn is_incomplete(self) -> bool
pub const fn is_incomplete(self) -> bool
Whether at least one task-list item remains unchecked.
Trait Implementations§
Source§impl Clone for AcceptanceCriteriaProgress
impl Clone for AcceptanceCriteriaProgress
Source§fn clone(&self) -> AcceptanceCriteriaProgress
fn clone(&self) -> AcceptanceCriteriaProgress
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 moreimpl Copy for AcceptanceCriteriaProgress
Source§impl Debug for AcceptanceCriteriaProgress
impl Debug for AcceptanceCriteriaProgress
Source§impl Default for AcceptanceCriteriaProgress
impl Default for AcceptanceCriteriaProgress
Source§fn default() -> AcceptanceCriteriaProgress
fn default() -> AcceptanceCriteriaProgress
Returns the “default value” for a type. Read more
Source§impl Display for AcceptanceCriteriaProgress
impl Display for AcceptanceCriteriaProgress
impl Eq for AcceptanceCriteriaProgress
impl StructuralPartialEq for AcceptanceCriteriaProgress
Auto Trait Implementations§
impl Freeze for AcceptanceCriteriaProgress
impl RefUnwindSafe for AcceptanceCriteriaProgress
impl Send for AcceptanceCriteriaProgress
impl Sync for AcceptanceCriteriaProgress
impl Unpin for AcceptanceCriteriaProgress
impl UnsafeUnpin for AcceptanceCriteriaProgress
impl UnwindSafe for AcceptanceCriteriaProgress
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more