pub enum TShirtSize {
XXXL,
XXL,
XL,
L,
M,
S,
XS,
}Expand description
A rough estimate of the amount of work an objective will take if performed by a single IC.
Variants§
XXXL
An unbounded amount of work.
XXL
At most one half of work.
XL
At most one quarter of work.
L
At most one eighth of work.
M
At most one week of work.
S
At most one day of work.
XS
Trivial, but more than filing a task.
Implementations§
Source§impl TShirtSize
impl TShirtSize
pub fn cost_in_days(&self) -> usize
pub fn cannot_contain(&self, sub_tasks: &[TShirtSize]) -> bool
Trait Implementations§
Source§impl Clone for TShirtSize
impl Clone for TShirtSize
Source§fn clone(&self) -> TShirtSize
fn clone(&self) -> TShirtSize
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for TShirtSize
impl Debug for TShirtSize
Source§impl Display for TShirtSize
impl Display for TShirtSize
Source§impl FromStr for TShirtSize
impl FromStr for TShirtSize
Source§impl PartialEq for TShirtSize
impl PartialEq for TShirtSize
impl Copy for TShirtSize
impl Eq for TShirtSize
impl StructuralPartialEq for TShirtSize
Auto Trait Implementations§
impl Freeze for TShirtSize
impl RefUnwindSafe for TShirtSize
impl Send for TShirtSize
impl Sync for TShirtSize
impl Unpin for TShirtSize
impl UnwindSafe for TShirtSize
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