Enum valkyrie_ast::WhileLoopKind
source · pub enum WhileLoopKind {
While,
Until,
}Expand description
The kind of while loop, including while and until
Variants§
Trait Implementations§
source§impl Clone for WhileLoopKind
impl Clone for WhileLoopKind
source§fn clone(&self) -> WhileLoopKind
fn clone(&self) -> WhileLoopKind
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 Debug for WhileLoopKind
impl Debug for WhileLoopKind
source§impl Hash for WhileLoopKind
impl Hash for WhileLoopKind
source§impl PartialEq for WhileLoopKind
impl PartialEq for WhileLoopKind
source§fn eq(&self, other: &WhileLoopKind) -> bool
fn eq(&self, other: &WhileLoopKind) -> bool
This method tests for
self and other values to be equal, and is used
by ==.impl Copy for WhileLoopKind
impl Eq for WhileLoopKind
impl StructuralPartialEq for WhileLoopKind
Auto Trait Implementations§
impl RefUnwindSafe for WhileLoopKind
impl Send for WhileLoopKind
impl Sync for WhileLoopKind
impl Unpin for WhileLoopKind
impl UnwindSafe for WhileLoopKind
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