pub struct Dart(_);
Expand description
Language specialization for Dart.
Trait Implementations§
source§impl<'a> FormatInto<Dart> for &'a Import
impl<'a> FormatInto<Dart> for &'a Import
source§impl<T> FormatInto<Dart> for DocComment<T>where
T: IntoIterator,
T::Item: Into<ItemStr>,
impl<T> FormatInto<Dart> for DocComment<T>where T: IntoIterator, T::Item: Into<ItemStr>,
source§impl FormatInto<Dart> for Import
impl FormatInto<Dart> for Import
source§impl Lang for Dart
impl Lang for Dart
source§fn start_string_eval(
out: &mut Formatter<'_>,
_config: &Self::Config,
_format: &Self::Format
) -> Result
fn start_string_eval( out: &mut Formatter<'_>, _config: &Self::Config, _format: &Self::Format ) -> Result
Start a string-interpolated eval.
source§fn end_string_eval(
out: &mut Formatter<'_>,
_config: &Self::Config,
_format: &Self::Format
) -> Result
fn end_string_eval( out: &mut Formatter<'_>, _config: &Self::Config, _format: &Self::Format ) -> Result
End a string interpolated eval.
source§fn string_eval_literal(
out: &mut Formatter<'_>,
_config: &Self::Config,
_format: &Self::Format,
literal: &str
) -> Result
fn string_eval_literal( out: &mut Formatter<'_>, _config: &Self::Config, _format: &Self::Format, literal: &str ) -> Result
A simple, single-literal string evaluation.
source§fn write_quoted(out: &mut Formatter<'_>, input: &str) -> Result
fn write_quoted(out: &mut Formatter<'_>, input: &str) -> Result
Performing string quoting according to language convention.
source§fn format_file(
tokens: &Tokens,
out: &mut Formatter<'_>,
config: &Self::Config
) -> Result
fn format_file( tokens: &Tokens, out: &mut Formatter<'_>, config: &Self::Config ) -> Result
Write a file according to the specified language convention.
source§fn default_indentation() -> Indentation
fn default_indentation() -> Indentation
Provide the default indentation.
source§impl Ord for Dart
impl Ord for Dart
source§impl PartialEq<Dart> for Dart
impl PartialEq<Dart> for Dart
source§impl PartialOrd<Dart> for Dart
impl PartialOrd<Dart> for Dart
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self
and other
) and is used by the <=
operator. Read more