[][src]Struct pycall::PythonProgram

pub struct PythonProgram { /* fields omitted */ }

Methods

impl PythonProgram[src]

Important traits for PythonProgram
pub fn new() -> PythonProgram[src]

pub fn run(&self) -> Result<Output, Error>[src]

pub fn flush(&mut self) -> &mut Self[src]

pub fn end_block(&mut self) -> &mut Self[src]

pub fn define_variable<T: AsPythonLitteral + ?Sized>(
    &mut self,
    name: &str,
    value: &T
) -> &mut Self
[src]

pub fn write_line(&mut self, line: &str) -> &mut Self[src]

pub fn if(&mut self, condition: &str) -> &mut Self[src]

pub fn elif(&mut self, condition: &str) -> &mut Self[src]

pub fn else(&mut self) -> &mut Self[src]

pub fn for(&mut self, range: &str) -> &mut Self[src]

pub fn while(&mut self, condition: &str) -> &mut Self[src]

Trait Implementations

impl Display for PythonProgram[src]

impl Write for PythonProgram[src]

Auto Trait Implementations

Blanket Implementations

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

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

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

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

type Error = !

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.

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

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

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

impl<V, T> VZip<V> for T where
    V: MultiLane<T>,