Struct python_parser::ast::PyString [−][src]
pub struct PyString {
pub prefix: String,
pub content: PyStringContent,
}A Python string. See the doc of the crate for the boring speech about encoding stuff.
Fields
prefix: String
content: PyStringContent
Trait Implementations
impl Clone for PyString[src]
impl Clone for PyStringfn clone(&self) -> PyString[src]
fn clone(&self) -> PyStringReturns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)1.0.0[src]
fn clone_from(&mut self, source: &Self)1.0.0
[src]Performs copy-assignment from source. Read more
impl Debug for PyString[src]
impl Debug for PyStringfn fmt(&self, f: &mut Formatter) -> Result[src]
fn fmt(&self, f: &mut Formatter) -> ResultFormats the value using the given formatter. Read more
impl PartialEq for PyString[src]
impl PartialEq for PyStringfn eq(&self, other: &PyString) -> bool[src]
fn eq(&self, other: &PyString) -> boolThis method tests for self and other values to be equal, and is used by ==. Read more
fn ne(&self, other: &PyString) -> bool[src]
fn ne(&self, other: &PyString) -> boolThis method tests for !=.
impl Eq for PyString[src]
impl Eq for PyString