pub struct Dart(/* private fields */);
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>
impl<T> FormatInto<Dart> for DocComment<T>
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 PartialOrd for Dart
impl PartialOrd for Dart
impl Copy for Dart
impl Eq for Dart
impl LangSupportsEval for Dart
impl StructuralPartialEq for Dart
Auto Trait Implementations§
impl Freeze for Dart
impl RefUnwindSafe for Dart
impl Send for Dart
impl Sync for Dart
impl Unpin for Dart
impl UnwindSafe for Dart
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more