[−][src]Struct genco::Java
Language specialization for Java.
Trait Implementations
impl<'el> FormatTokens<'el, Java> for Modifier
[src]
impl<'el> FormatTokens<'el, Java> for Vec<Modifier>
[src]
impl<'el> FormatTokens<'el, Java> for &'el Optional
[src]
impl<'el> FormatTokens<'el, Java> for Local
[src]
impl<'el> FormatTokens<'el, Java> for &'el Local
[src]
impl<'el> FormatTokens<'el, Java> for BlockComment<'el>
[src]
impl<'el> FormatTokens<'el, Java> for Primitive
[src]
impl<'el> FormatTokens<'el, Java> for &'el Primitive
[src]
impl<'el> FormatTokens<'el, Java> for Void
[src]
impl<'el> FormatTokens<'el, Java> for &'el Void
[src]
impl<'el> FormatTokens<'el, Java> for Type
[src]
impl<'el> FormatTokens<'el, Java> for &'el Type
[src]
impl<'el> FormatTokens<'el, Java> for Optional
[src]
impl Lang for Java
[src]
type Config = Config
Configuration associated with building a formatting element.
type Import = dyn TypeTrait
The type used when resolving imports.
fn quote_string(out: &mut Formatter, input: &str) -> Result
[src]
fn write_file(
tokens: Tokens,
out: &mut Formatter,
config: &mut Self::Config,
level: usize
) -> Result
[src]
tokens: Tokens,
out: &mut Formatter,
config: &mut Self::Config,
level: usize
) -> Result
fn default_indentation() -> usize
[src]
impl LangItem<Java> for Type
[src]
fn format(
&self,
out: &mut Formatter,
config: &mut Config,
level: usize
) -> Result
[src]
&self,
out: &mut Formatter,
config: &mut Config,
level: usize
) -> Result
fn as_import(&self) -> Option<&dyn TypeTrait>
[src]
impl LangItem<Java> for Void
[src]
fn format(&self, out: &mut Formatter, _: &mut Config, level: usize) -> Result
[src]
fn as_import(&self) -> Option<&L::Import>
[src]
impl LangItem<Java> for Primitive
[src]
fn format(&self, out: &mut Formatter, _: &mut Config, level: usize) -> Result
[src]
fn as_import(&self) -> Option<&L::Import>
[src]
impl LangItem<Java> for Local
[src]
fn format(&self, out: &mut Formatter, _: &mut Config, _: usize) -> Result
[src]
fn as_import(&self) -> Option<&dyn TypeTrait>
[src]
impl LangItem<Java> for Optional
[src]
Auto Trait Implementations
impl RefUnwindSafe for Java
impl Send for Java
impl Sync for Java
impl Unpin for Java
impl UnwindSafe for Java
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,