[−][src]Struct genco::Go
Language specialization for Go.
Trait Implementations
impl FormatTokens<Go> for Type
[src]
fn format_tokens(self, tokens: &mut Tokens<Go>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl<'a> FormatTokens<Go> for &'a Type
[src]
fn format_tokens(self, tokens: &mut Tokens<Go>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl FormatTokens<Go> for Map
[src]
fn format_tokens(self, tokens: &mut Tokens<Go>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl<'a> FormatTokens<Go> for &'a Map
[src]
fn format_tokens(self, tokens: &mut Tokens<Go>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl FormatTokens<Go> for Array
[src]
fn format_tokens(self, tokens: &mut Tokens<Go>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl<'a> FormatTokens<Go> for &'a Array
[src]
fn format_tokens(self, tokens: &mut Tokens<Go>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl FormatTokens<Go> for Interface
[src]
fn format_tokens(self, tokens: &mut Tokens<Go>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl<'a> FormatTokens<Go> for &'a Interface
[src]
fn format_tokens(self, tokens: &mut Tokens<Go>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl Lang for Go
[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<Go> for Type
[src]
fn format(&self, out: &mut Formatter, _: &mut Config, _: usize) -> Result
[src]
fn as_import(&self) -> Option<&dyn TypeTrait>
[src]
impl LangItem<Go> for Map
[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<Go> for Array
[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<Go> for Interface
[src]
Auto Trait Implementations
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>,