#[repr(u32)]pub enum ControlFlow {
Show 32 variants
Bits0 = 0,
None = 1,
Returns = 2,
Bits3 = 3,
Throws = 4,
Bits5 = 5,
Bits6 = 6,
Bits7 = 7,
Breaks = 8,
Bits9 = 9,
Bits10 = 10,
Bits11 = 11,
Bits12 = 12,
Bits13 = 13,
Bits14 = 14,
Bits15 = 15,
Continues = 16,
Bits17 = 17,
Bits18 = 18,
Bits19 = 19,
Bits20 = 20,
Bits21 = 21,
Bits22 = 22,
Bits23 = 23,
Bits24 = 24,
Bits25 = 25,
Bits26 = 26,
Bits27 = 27,
Bits28 = 28,
Bits29 = 29,
Bits30 = 30,
Bits31 = 31,
}Variants§
Bits0 = 0
None = 1
Returns = 2
Bits3 = 3
Throws = 4
Bits5 = 5
Bits6 = 6
Bits7 = 7
Breaks = 8
Bits9 = 9
Bits10 = 10
Bits11 = 11
Bits12 = 12
Bits13 = 13
Bits14 = 14
Bits15 = 15
Continues = 16
Bits17 = 17
Bits18 = 18
Bits19 = 19
Bits20 = 20
Bits21 = 21
Bits22 = 22
Bits23 = 23
Bits24 = 24
Bits25 = 25
Bits26 = 26
Bits27 = 27
Bits28 = 28
Bits29 = 29
Bits30 = 30
Bits31 = 31
Implementations§
Source§impl ControlFlow
impl ControlFlow
pub const Zero: Self = Self::Bits0
pub const None: Self = Self::None
pub const Returns: Self = Self::Returns
pub const Throws: Self = Self::Throws
pub const Breaks: Self = Self::Breaks
pub const Continues: Self = Self::Continues
pub fn from_bits(bits: u32) -> Self
Trait Implementations§
Source§impl BitAnd for ControlFlow
impl BitAnd for ControlFlow
Source§impl Clone for ControlFlow
impl Clone for ControlFlow
Source§fn clone(&self) -> ControlFlow
fn clone(&self) -> ControlFlow
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreimpl Copy for ControlFlow
Source§impl Debug for ControlFlow
impl Debug for ControlFlow
impl Eq for ControlFlow
Source§impl Hash for ControlFlow
impl Hash for ControlFlow
Source§impl PartialEq for ControlFlow
impl PartialEq for ControlFlow
Source§fn eq(&self, other: &ControlFlow) -> bool
fn eq(&self, other: &ControlFlow) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for ControlFlow
Auto Trait Implementations§
impl Freeze for ControlFlow
impl RefUnwindSafe for ControlFlow
impl Send for ControlFlow
impl Sync for ControlFlow
impl Unpin for ControlFlow
impl UnsafeUnpin for ControlFlow
impl UnwindSafe for ControlFlow
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