Struct rustpython_ast::ExprJoinedStr
source · pub struct ExprJoinedStr<R = TextRange> {
pub range: R,
pub values: Vec<Expr<R>>,
}
Expand description
See also JoinedStr
Fields§
§range: R
§values: Vec<Expr<R>>
Trait Implementations§
source§impl<R: Clone> Clone for ExprJoinedStr<R>
impl<R: Clone> Clone for ExprJoinedStr<R>
source§fn clone(&self) -> ExprJoinedStr<R>
fn clone(&self) -> ExprJoinedStr<R>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl<R: Debug> Debug for ExprJoinedStr<R>
impl<R: Debug> Debug for ExprJoinedStr<R>
source§impl<T, U> Foldable<T, U> for ExprJoinedStr<T>
impl<T, U> Foldable<T, U> for ExprJoinedStr<T>
source§impl<R> From<ExprJoinedStr<R>> for Ast<R>
impl<R> From<ExprJoinedStr<R>> for Ast<R>
source§fn from(payload: ExprJoinedStr<R>) -> Self
fn from(payload: ExprJoinedStr<R>) -> Self
Converts to this type from the input type.
source§impl<R> From<ExprJoinedStr<R>> for Expr<R>
impl<R> From<ExprJoinedStr<R>> for Expr<R>
source§fn from(payload: ExprJoinedStr<R>) -> Self
fn from(payload: ExprJoinedStr<R>) -> Self
Converts to this type from the input type.
source§impl<R> Node for ExprJoinedStr<R>
impl<R> Node for ExprJoinedStr<R>
source§impl<R: PartialEq> PartialEq for ExprJoinedStr<R>
impl<R: PartialEq> PartialEq for ExprJoinedStr<R>
source§fn eq(&self, other: &ExprJoinedStr<R>) -> bool
fn eq(&self, other: &ExprJoinedStr<R>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.§impl Ranged for ExprJoinedStr<TextRange>
impl Ranged for ExprJoinedStr<TextRange>
impl<R> StructuralPartialEq for ExprJoinedStr<R>
Auto Trait Implementations§
impl<R> Freeze for ExprJoinedStr<R>where
R: Freeze,
impl<R> RefUnwindSafe for ExprJoinedStr<R>where
R: RefUnwindSafe,
impl<R> Send for ExprJoinedStr<R>where
R: Send,
impl<R> Sync for ExprJoinedStr<R>where
R: Sync,
impl<R> Unpin for ExprJoinedStr<R>where
R: Unpin,
impl<R> UnwindSafe for ExprJoinedStr<R>where
R: UnwindSafe,
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