pub struct EditorConfigWarning {
pub rule: Option<&'static str>,
pub message: String,
}Expand description
A .editorconfig property rumdl read but does not act on.
Fields§
§rule: Option<&'static str>The rule whose behavior contradicts the property, when the divergence is
rule-specific. Such a message is only true while that rule is enabled.
None means the property itself is unusable, which is worth reporting
whatever rules are active.
message: StringTrait Implementations§
Source§impl Clone for EditorConfigWarning
impl Clone for EditorConfigWarning
Source§fn clone(&self) -> EditorConfigWarning
fn clone(&self) -> EditorConfigWarning
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 EditorConfigWarning
impl Debug for EditorConfigWarning
impl Eq for EditorConfigWarning
Source§impl PartialEq for EditorConfigWarning
impl PartialEq for EditorConfigWarning
impl StructuralPartialEq for EditorConfigWarning
Auto Trait Implementations§
impl Freeze for EditorConfigWarning
impl RefUnwindSafe for EditorConfigWarning
impl Send for EditorConfigWarning
impl Sync for EditorConfigWarning
impl Unpin for EditorConfigWarning
impl UnsafeUnpin for EditorConfigWarning
impl UnwindSafe for EditorConfigWarning
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<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
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.