[−][src]Struct pyc_shell::translator::ioprocessor::IOProcessor
Fields
language: Language
Implementations
impl IOProcessor
[src]
pub fn new(language: Language, translator: Box<dyn Translator>) -> IOProcessor
[src]
new
Instantiates a new IOProcessor with the provided translator
pub fn expression_to_latin(
&self,
expression: &String
) -> Result<String, ExpressionParserError>
[src]
&self,
expression: &String
) -> Result<String, ExpressionParserError>
expression_to_latin
Converts a cyrillic expression into a latin string ready to be performed as a shell process An expression must care of backslashes, escapes and inner expressions '(...)'
pub fn expression_to_cyrillic(
&self,
expression: &String
) -> Result<String, ExpressionParserError>
[src]
&self,
expression: &String
) -> Result<String, ExpressionParserError>
pub fn text_to_latin(&self, text: &String) -> String
[src]
text_to_latin
Converts a cyrillic text into latin using the provided translator
pub fn text_to_cyrillic(&self, text: &String) -> String
[src]
text_to_cyrillic
Converts a latin text into cyrillic using the provided translator
Auto Trait Implementations
impl !RefUnwindSafe for IOProcessor
impl !Send for IOProcessor
impl !Sync for IOProcessor
impl Unpin for IOProcessor
impl !UnwindSafe for IOProcessor
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>,
type Error = <U as TryFrom<T>>::Error
The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error>
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
V: MultiLane<T>,