Struct libcst_native::For
source · pub struct For<'a> {
pub target: AssignTargetExpression<'a>,
pub iter: Expression<'a>,
pub body: Suite<'a>,
pub orelse: Option<Else<'a>>,
pub asynchronous: Option<Asynchronous<'a>>,
pub leading_lines: Vec<EmptyLine<'a>>,
pub whitespace_after_for: SimpleWhitespace<'a>,
pub whitespace_before_in: SimpleWhitespace<'a>,
pub whitespace_after_in: SimpleWhitespace<'a>,
pub whitespace_before_colon: SimpleWhitespace<'a>,
}Fields§
§target: AssignTargetExpression<'a>§iter: Expression<'a>§body: Suite<'a>§orelse: Option<Else<'a>>§asynchronous: Option<Asynchronous<'a>>§leading_lines: Vec<EmptyLine<'a>>§whitespace_after_for: SimpleWhitespace<'a>§whitespace_before_in: SimpleWhitespace<'a>§whitespace_after_in: SimpleWhitespace<'a>§whitespace_before_colon: SimpleWhitespace<'a>Trait Implementations§
source§impl<'a> PartialEq for For<'a>
impl<'a> PartialEq for For<'a>
impl<'a> Eq for For<'a>
impl<'a> StructuralPartialEq for For<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for For<'a>
impl<'a> Send for For<'a>
impl<'a> Sync for For<'a>
impl<'a> Unpin for For<'a>
impl<'a> UnwindSafe for For<'a>
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