pub struct FormatSuggestion {
pub line: u32,
pub original: String,
pub formatted: String,
pub description: String,
}Expand description
A formatting suggestion.
Fields§
§line: u32Zero-based line number where the change applies.
original: StringOriginal line content before formatting.
formatted: StringSuggested formatted line content.
description: StringHuman-readable description of the formatting change.
Trait Implementations§
Source§impl Clone for FormatSuggestion
impl Clone for FormatSuggestion
Source§fn clone(&self) -> FormatSuggestion
fn clone(&self) -> FormatSuggestion
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 moreAuto Trait Implementations§
impl Freeze for FormatSuggestion
impl RefUnwindSafe for FormatSuggestion
impl Send for FormatSuggestion
impl Sync for FormatSuggestion
impl Unpin for FormatSuggestion
impl UnsafeUnpin for FormatSuggestion
impl UnwindSafe for FormatSuggestion
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