Struct sane_fmt::rules::Fmt[][src]

pub struct Fmt(_);

Wrapper type of configuration.

Implementations

impl Fmt[src]

pub fn from_cfg(cfg: Cfg) -> Self[src]

Create a formatter

pub fn into_cfg(self) -> Cfg[src]

Extract internal configuration

pub fn format_text(&self, path: &Path, content: &str) -> Result<String, String>[src]

Format a file

Auto Trait Implementations

impl RefUnwindSafe for Fmt

impl Send for Fmt

impl Sync for Fmt

impl Unpin for Fmt

impl UnwindSafe for Fmt

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> Conv for T[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> Node for T where
    T: Any + ?Sized

impl<X> Pipe for X[src]

impl<T> Pipe for T where
    T: ?Sized
[src]

impl<T> Send for T where
    T: ?Sized

impl<T> Sync for T where
    T: ?Sized

impl<T> Tap for T[src]

impl<T> TryConv for T[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.