pub struct BreakNode {}Expand description
Represents a break node in py_sql.
It’s used to exit a loop, typically within a foreach block.
§Example
PySQL syntax:
for item in collection:
if item == 'something':
breakTrait Implementations§
impl Eq for BreakNode
impl StructuralPartialEq for BreakNode
Auto Trait Implementations§
impl Freeze for BreakNode
impl RefUnwindSafe for BreakNode
impl Send for BreakNode
impl Sync for BreakNode
impl Unpin for BreakNode
impl UnwindSafe for BreakNode
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.