[−][src]Struct genco::lang::rust::Rust
Language specialization for Rust.
Trait Implementations
impl Clone for Rust
[src]
impl Copy for Rust
[src]
impl Debug for Rust
[src]
impl Eq for Rust
[src]
impl FormatInto<Rust> for Import
[src]
fn format_into(self, tokens: &mut Tokens<Rust>)
[src]
impl<'a> FormatInto<Rust> for &'a Import
[src]
fn format_into(self, tokens: &mut Tokens<Rust>)
[src]
impl Hash for Rust
[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 Rust
[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<Rust> for Any
[src]
fn format(
&self,
out: &mut Formatter<'_>,
config: &<Rust as Lang>::Config,
format: &<Rust as Lang>::Format
) -> Result
[src]
&self,
out: &mut Formatter<'_>,
config: &<Rust as Lang>::Config,
format: &<Rust as Lang>::Format
) -> Result
impl LangItem<Rust> for Import
[src]
impl Ord for Rust
[src]
fn cmp(&self, other: &Rust) -> 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<Rust> for Rust
[src]
impl PartialOrd<Rust> for Rust
[src]
fn partial_cmp(&self, other: &Rust) -> Option<Ordering>
[src]
fn lt(&self, other: &Rust) -> bool
[src]
fn le(&self, other: &Rust) -> bool
[src]
fn gt(&self, other: &Rust) -> bool
[src]
fn ge(&self, other: &Rust) -> bool
[src]
impl Register<Rust> for Import
[src]
impl<'a> Register<Rust> for &'a Import
[src]
impl StructuralEq for Rust
[src]
impl StructuralPartialEq for Rust
[src]
Auto Trait Implementations
impl RefUnwindSafe for Rust
impl Send for Rust
impl Sync for Rust
impl Unpin for Rust
impl UnwindSafe for Rust
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>,