[−][src]Struct genco::prelude::Dart
Language specialization for Dart.
Trait Implementations
impl<T> FormatTokens<Dart> for DocComment<T> where
T: IntoIterator,
T::Item: Into<ItemStr>,
[src]
T: IntoIterator,
T::Item: Into<ItemStr>,
fn format_tokens(self, tokens: &mut Tokens<Dart>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl FormatTokens<Dart> for Type
[src]
fn format_tokens(self, tokens: &mut Tokens<Dart>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl<'a> FormatTokens<Dart> for &'a Dynamic
[src]
fn format_tokens(self, tokens: &mut Tokens<Dart>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl FormatTokens<Dart> for Modifier
[src]
fn format_tokens(self, tokens: &mut Tokens<Dart>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl FormatTokens<Dart> for Vec<Modifier>
[src]
fn format_tokens(self, tokens: &mut Tokens<Dart>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl<'a> FormatTokens<Dart> for &'a Type
[src]
fn format_tokens(self, tokens: &mut Tokens<Dart>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl FormatTokens<Dart> for BuiltIn
[src]
fn format_tokens(self, tokens: &mut Tokens<Dart>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl<'a> FormatTokens<Dart> for &'a BuiltIn
[src]
fn format_tokens(self, tokens: &mut Tokens<Dart>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl FormatTokens<Dart> for Local
[src]
fn format_tokens(self, tokens: &mut Tokens<Dart>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl<'a> FormatTokens<Dart> for &'a Local
[src]
fn format_tokens(self, tokens: &mut Tokens<Dart>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl FormatTokens<Dart> for Void
[src]
fn format_tokens(self, tokens: &mut Tokens<Dart>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl<'a> FormatTokens<Dart> for &'a Void
[src]
fn format_tokens(self, tokens: &mut Tokens<Dart>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl FormatTokens<Dart> for Dynamic
[src]
fn format_tokens(self, tokens: &mut Tokens<Dart>)
[src]
fn into_tokens(self) -> Tokens<L> where
Self: Sized,
[src]
Self: Sized,
fn is_empty(&self) -> bool
[src]
impl Lang for Dart
[src]
type Config = Config
Configuration associated with building a formatting element.
type Import = Type
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<Dart> for BuiltIn
[src]
fn format(&self, out: &mut Formatter, _: &mut Config, _: usize) -> Result
[src]
fn as_import(&self) -> Option<&L::Import>
[src]
impl LangItem<Dart> for Local
[src]
fn format(&self, out: &mut Formatter, _: &mut Config, _: usize) -> Result
[src]
fn as_import(&self) -> Option<&L::Import>
[src]
impl LangItem<Dart> for Void
[src]
fn format(&self, out: &mut Formatter, _: &mut Config, _: usize) -> Result
[src]
fn as_import(&self) -> Option<&L::Import>
[src]
impl LangItem<Dart> for Dynamic
[src]
fn format(&self, out: &mut Formatter, _: &mut Config, _: usize) -> Result
[src]
fn as_import(&self) -> Option<&L::Import>
[src]
impl LangItem<Dart> for Type
[src]
Auto Trait Implementations
impl RefUnwindSafe for Dart
impl Send for Dart
impl Sync for Dart
impl Unpin for Dart
impl UnwindSafe for Dart
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>,