Enum parse_js::ast::ForStmtHeader
source · pub enum ForStmtHeader {
Three {
init: ForThreeInit,
condition: Option<NodeId>,
post: Option<NodeId>,
},
InOf {
of: bool,
lhs: ForInOfStmtHeaderLhs,
rhs: NodeId,
},
}
Variants
Three
InOf
Trait Implementations
sourceimpl Clone for ForStmtHeader
impl Clone for ForStmtHeader
sourcefn clone(&self) -> ForStmtHeader
fn clone(&self) -> ForStmtHeader
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations
impl RefUnwindSafe for ForStmtHeader
impl Send for ForStmtHeader
impl Sync for ForStmtHeader
impl Unpin for ForStmtHeader
impl UnwindSafe for ForStmtHeader
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more