pub enum Distillation {
Drafted(SkillDraft),
Skipped(SkipReason),
}Expand description
Outcome of SkillDistiller::distill.
Variants§
Drafted(SkillDraft)
Skipped(SkipReason)
Implementations§
Source§impl Distillation
impl Distillation
pub fn draft(&self) -> Option<&SkillDraft>
pub fn into_draft(self) -> Option<SkillDraft>
Trait Implementations§
Source§impl Clone for Distillation
impl Clone for Distillation
Source§fn clone(&self) -> Distillation
fn clone(&self) -> Distillation
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 moreSource§impl Debug for Distillation
impl Debug for Distillation
Source§impl PartialEq for Distillation
impl PartialEq for Distillation
impl StructuralPartialEq for Distillation
Auto Trait Implementations§
impl Freeze for Distillation
impl RefUnwindSafe for Distillation
impl Send for Distillation
impl Sync for Distillation
impl Unpin for Distillation
impl UnsafeUnpin for Distillation
impl UnwindSafe for Distillation
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