pub struct FormatOutput {
pub content: String,
pub changed: bool,
}Expand description
格式化输出
Fields§
§content: String格式化后的代码
changed: bool是否有变化
Implementations§
Trait Implementations§
Source§impl Clone for FormatOutput
impl Clone for FormatOutput
Source§fn clone(&self) -> FormatOutput
fn clone(&self) -> FormatOutput
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 moreSource§impl Debug for FormatOutput
impl Debug for FormatOutput
Auto Trait Implementations§
impl Freeze for FormatOutput
impl RefUnwindSafe for FormatOutput
impl Send for FormatOutput
impl Sync for FormatOutput
impl Unpin for FormatOutput
impl UnwindSafe for FormatOutput
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