[][src]Struct genco::java::Config

pub struct Config<'el> { /* fields omitted */ }

Configuration for Java formatting.

Implementations

impl<'el> Config<'el>[src]

pub fn with_package(self, package: impl Into<Cons<'el>>) -> Self[src]

Configure package to use.

pub fn with_indentation(self, indentation: usize) -> Self[src]

Configure indentation level.

impl<'el> Config<'el>[src]

pub fn package<P>(&mut self, package: P) where
    P: Into<Cons<'el>>, 
[src]

Set the package name to build.

Trait Implementations

impl<'_> Config for Config<'_>[src]

impl<'el> Debug for Config<'el>[src]

impl<'el> Default for Config<'el>[src]

Auto Trait Implementations

impl<'el> !RefUnwindSafe for Config<'el>

impl<'el> !Send for Config<'el>

impl<'el> !Sync for Config<'el>

impl<'el> Unpin for Config<'el>

impl<'el> UnwindSafe for Config<'el>

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> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<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.