[−][src]Struct genco::lang::java::Java
Language specialization for Java.
Trait Implementations
impl Clone for Java
[src]
impl Copy for Java
[src]
impl Debug for Java
[src]
impl Eq for Java
[src]
impl<T> FormatInto<Java> for BlockComment<T> where
T: IntoIterator,
T::Item: Into<ItemStr>,
[src]
T: IntoIterator,
T::Item: Into<ItemStr>,
fn format_into(self, tokens: &mut Tokens<Java>)
[src]
impl FormatInto<Java> for Import
[src]
fn format_into(self, tokens: &mut Tokens<Java>)
[src]
impl<'a> FormatInto<Java> for &'a Import
[src]
fn format_into(self, tokens: &mut Tokens<Java>)
[src]
impl Hash for Java
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
H: Hasher,
impl Lang for Java
[src]
type Config = Config
Configuration associated with building a formatting element.
type Format = Format
State being used during formatting.
type Item = Import
The type used when resolving imports.
fn write_quoted(out: &mut Formatter<'_>, input: &str) -> Result
[src]
fn format_file(
tokens: &Tokens,
out: &mut Formatter<'_>,
config: &Self::Config
) -> Result
[src]
tokens: &Tokens,
out: &mut Formatter<'_>,
config: &Self::Config
) -> Result
fn default_indentation() -> Indentation
[src]
fn open_quote(
out: &mut Formatter<'_>,
_config: &Self::Config,
_format: &Self::Format,
_has_eval: bool
) -> Result
[src]
out: &mut Formatter<'_>,
_config: &Self::Config,
_format: &Self::Format,
_has_eval: bool
) -> Result
fn close_quote(
out: &mut Formatter<'_>,
_config: &Self::Config,
_format: &Self::Format,
_has_eval: bool
) -> Result
[src]
out: &mut Formatter<'_>,
_config: &Self::Config,
_format: &Self::Format,
_has_eval: bool
) -> Result
fn string_eval_literal(
out: &mut Formatter<'_>,
config: &Self::Config,
format: &Self::Format,
literal: &str
) -> Result
[src]
out: &mut Formatter<'_>,
config: &Self::Config,
format: &Self::Format,
literal: &str
) -> Result
fn start_string_eval(
_out: &mut Formatter<'_>,
_config: &Self::Config,
_format: &Self::Format
) -> Result
[src]
_out: &mut Formatter<'_>,
_config: &Self::Config,
_format: &Self::Format
) -> Result
fn end_string_eval(
_out: &mut Formatter<'_>,
_config: &Self::Config,
_format: &Self::Format
) -> Result
[src]
_out: &mut Formatter<'_>,
_config: &Self::Config,
_format: &Self::Format
) -> Result
impl LangItem<Java> for Any
[src]
fn format(
&self,
out: &mut Formatter<'_>,
config: &<Java as Lang>::Config,
format: &<Java as Lang>::Format
) -> Result
[src]
&self,
out: &mut Formatter<'_>,
config: &<Java as Lang>::Config,
format: &<Java as Lang>::Format
) -> Result
impl LangItem<Java> for Import
[src]
impl Ord for Java
[src]
fn cmp(&self, other: &Java) -> Ordering
[src]
#[must_use]fn max(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn min(self, other: Self) -> Self
1.21.0[src]
#[must_use]fn clamp(self, min: Self, max: Self) -> Self
[src]
impl PartialEq<Java> for Java
[src]
impl PartialOrd<Java> for Java
[src]
fn partial_cmp(&self, other: &Java) -> Option<Ordering>
[src]
fn lt(&self, other: &Java) -> bool
[src]
fn le(&self, other: &Java) -> bool
[src]
fn gt(&self, other: &Java) -> bool
[src]
fn ge(&self, other: &Java) -> bool
[src]
impl Register<Java> for Import
[src]
impl<'a> Register<Java> for &'a Import
[src]
impl StructuralEq for Java
[src]
impl StructuralPartialEq for Java
[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> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
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>,