[−][src]Struct genco::Python
Language specialization for Python.
Trait Implementations
impl<'el> FormatTokens<'el, Python> for Type
[src]
impl<'el> FormatTokens<'el, Python> for &'el Type
[src]
impl Lang for Python
[src]
type 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<Python> for Type
[src]
Auto Trait Implementations
impl RefUnwindSafe for Python
impl Send for Python
impl Sync for Python
impl Unpin for Python
impl UnwindSafe for Python
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>,