pub struct StyleCandidate {
pub path: TargetPath,
pub reason: String,
}Expand description
A document written before the instance, which nothing here judges.
Named rather than measured. writing-style:no-delivered-gate-judges-prose
forbids a delivered gate from judging prose, and an engine that reported
a style finding would be doing by another name what that rule refuses.
Fields§
§path: TargetPathWhere.
reason: StringWhy it is a candidate, never why it is wrong.
Trait Implementations§
Source§impl Clone for StyleCandidate
impl Clone for StyleCandidate
Source§fn clone(&self) -> StyleCandidate
fn clone(&self) -> StyleCandidate
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 StyleCandidate
impl Debug for StyleCandidate
Source§impl<'de> Deserialize<'de> for StyleCandidate
impl<'de> Deserialize<'de> for StyleCandidate
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
impl Eq for StyleCandidate
Source§impl PartialEq for StyleCandidate
impl PartialEq for StyleCandidate
Source§impl Serialize for StyleCandidate
impl Serialize for StyleCandidate
impl StructuralPartialEq for StyleCandidate
Auto Trait Implementations§
impl Freeze for StyleCandidate
impl RefUnwindSafe for StyleCandidate
impl Send for StyleCandidate
impl Sync for StyleCandidate
impl Unpin for StyleCandidate
impl UnsafeUnpin for StyleCandidate
impl UnwindSafe for StyleCandidate
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,
impl<T> DeserializeOwned for Twhere
T: for<'de> Deserialize<'de>,
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.