[][src]Struct genco::python::Python

pub struct Python<'el> { /* fields omitted */ }

Python token specialization.

Implementations

impl<'el> Python<'el>[src]

pub fn alias<N: Into<Cons<'el>>>(self, new_alias: N) -> Python<'el>[src]

Set alias for python element.

pub fn name<N: Into<Cons<'el>>>(self, new_name: N) -> Python<'el>[src]

Set name for python element.

Trait Implementations

impl<'el> Clone for Python<'el>[src]

impl<'el> Custom for Python<'el>[src]

type Config = ()

Configuration associated with building a formatting element.

impl<'el> Debug for Python<'el>[src]

impl<'el> Display for Python<'el>[src]

impl<'el> Eq for Python<'el>[src]

impl<'el> From<&'el Python<'el>> for Tokens<'el, Python<'el>>[src]

impl<'el> From<Python<'el>> for Tokens<'el, Python<'el>>[src]

impl<'el> Hash for Python<'el>[src]

impl<'el> Ord for Python<'el>[src]

impl<'el> PartialEq<Python<'el>> for Python<'el>[src]

impl<'el> PartialOrd<Python<'el>> for Python<'el>[src]

impl<'el> StructuralEq for Python<'el>[src]

impl<'el> StructuralPartialEq for Python<'el>[src]

Auto Trait Implementations

impl<'el> !RefUnwindSafe for Python<'el>

impl<'el> !Send for Python<'el>

impl<'el> !Sync for Python<'el>

impl<'el> Unpin for Python<'el>

impl<'el> UnwindSafe for Python<'el>

Blanket Implementations

impl<T> Any for T where
    T: 'static + ?Sized
[src]

impl<T> Borrow<T> for T where
    T: ?Sized
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> ToOwned for T where
    T: Clone
[src]

type Owned = T

The resulting type after obtaining ownership.

impl<T> ToString for T where
    T: Display + ?Sized
[src]

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.