Struct rustpython_format::FormatString
source · pub struct FormatString {
pub format_parts: Vec<FormatPart>,
}
Fields§
§format_parts: Vec<FormatPart>
Trait Implementations§
source§impl Debug for FormatString
impl Debug for FormatString
source§impl<'a> FromTemplate<'a> for FormatString
impl<'a> FromTemplate<'a> for FormatString
source§impl PartialEq for FormatString
impl PartialEq for FormatString
source§fn eq(&self, other: &FormatString) -> bool
fn eq(&self, other: &FormatString) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FormatString
Auto Trait Implementations§
impl Freeze for FormatString
impl RefUnwindSafe for FormatString
impl Send for FormatString
impl Sync for FormatString
impl Unpin for FormatString
impl UnwindSafe for FormatString
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more