Enum rustpython_format::FieldNamePart
source · pub enum FieldNamePart {
Attribute(String),
Index(usize),
StringIndex(String),
}
Variants§
Trait Implementations§
source§impl Debug for FieldNamePart
impl Debug for FieldNamePart
source§impl PartialEq for FieldNamePart
impl PartialEq for FieldNamePart
source§fn eq(&self, other: &FieldNamePart) -> bool
fn eq(&self, other: &FieldNamePart) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl StructuralPartialEq for FieldNamePart
Auto Trait Implementations§
impl Freeze for FieldNamePart
impl RefUnwindSafe for FieldNamePart
impl Send for FieldNamePart
impl Sync for FieldNamePart
impl Unpin for FieldNamePart
impl UnwindSafe for FieldNamePart
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