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 PyString
fn clone(&self) -> PyString
[src]
fn clone(&self) -> PyString
Returns 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 PyString
fn fmt(&self, f: &mut Formatter) -> Result
[src]
fn fmt(&self, f: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl PartialEq for PyString
[src]
impl PartialEq for PyString
fn eq(&self, other: &PyString) -> bool
[src]
fn eq(&self, other: &PyString) -> bool
This 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) -> bool
This method tests for !=
.
impl Eq for PyString
[src]
impl Eq for PyString