pub enum FormattedSource {
Unchanged,
Formatted(String),
}Expand description
Result of formatting shell source.
Variants§
Implementations§
Source§impl FormattedSource
impl FormattedSource
pub fn is_changed(&self) -> bool
Trait Implementations§
Source§impl Clone for FormattedSource
impl Clone for FormattedSource
Source§fn clone(&self) -> FormattedSource
fn clone(&self) -> FormattedSource
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 FormattedSource
impl Debug for FormattedSource
Source§impl PartialEq for FormattedSource
impl PartialEq for FormattedSource
Source§fn eq(&self, other: &FormattedSource) -> bool
fn eq(&self, other: &FormattedSource) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for FormattedSource
impl StructuralPartialEq for FormattedSource
Auto Trait Implementations§
impl Freeze for FormattedSource
impl RefUnwindSafe for FormattedSource
impl Send for FormattedSource
impl Sync for FormattedSource
impl Unpin for FormattedSource
impl UnsafeUnpin for FormattedSource
impl UnwindSafe for FormattedSource
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