Struct libcst_native::While
source · pub struct While<'a> {
pub test: Expression<'a>,
pub body: Suite<'a>,
pub orelse: Option<Else<'a>>,
pub leading_lines: Vec<EmptyLine<'a>>,
pub whitespace_after_while: SimpleWhitespace<'a>,
pub whitespace_before_colon: SimpleWhitespace<'a>,
}Fields§
§test: Expression<'a>§body: Suite<'a>§orelse: Option<Else<'a>>§leading_lines: Vec<EmptyLine<'a>>§whitespace_after_while: SimpleWhitespace<'a>§whitespace_before_colon: SimpleWhitespace<'a>Trait Implementations§
source§impl<'a> PartialEq for While<'a>
impl<'a> PartialEq for While<'a>
impl<'a> Eq for While<'a>
impl<'a> StructuralPartialEq for While<'a>
Auto Trait Implementations§
impl<'a> RefUnwindSafe for While<'a>
impl<'a> Send for While<'a>
impl<'a> Sync for While<'a>
impl<'a> Unpin for While<'a>
impl<'a> UnwindSafe for While<'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