pub struct SkillLoadWarning { /* private fields */ }Expand description
Non-fatal warning raised while loading skill roots.
Implementations§
Source§impl SkillLoadWarning
impl SkillLoadWarning
Sourcepub fn new(path: PathBuf, reason: SkillLoadWarningReason) -> Self
pub fn new(path: PathBuf, reason: SkillLoadWarningReason) -> Self
Creates a skill load warning.
Sourcepub fn reason(&self) -> &SkillLoadWarningReason
pub fn reason(&self) -> &SkillLoadWarningReason
Typed reason the skill was left out of the catalog.
Trait Implementations§
Source§impl Clone for SkillLoadWarning
impl Clone for SkillLoadWarning
Source§impl Debug for SkillLoadWarning
impl Debug for SkillLoadWarning
Source§impl Display for SkillLoadWarning
impl Display for SkillLoadWarning
impl Eq for SkillLoadWarning
Source§impl PartialEq for SkillLoadWarning
impl PartialEq for SkillLoadWarning
impl StructuralPartialEq for SkillLoadWarning
Auto Trait Implementations§
impl Forget for SkillLoadWarning
impl Freeze for SkillLoadWarning
impl Move for SkillLoadWarning
impl RefUnwindSafe for SkillLoadWarning
impl Send for SkillLoadWarning
impl Sync for SkillLoadWarning
impl Unpin for SkillLoadWarning
impl UnsafeUnpin for SkillLoadWarning
impl UnwindSafe for SkillLoadWarning
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
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.