#[repr(u8)]pub enum BNScopeType {
OneLineScopeType = 0,
HasSubScopeScopeType = 1,
BlockScopeType = 2,
SwitchScopeType = 3,
CaseScopeType = 4,
}Variants§
OneLineScopeType = 0
HasSubScopeScopeType = 1
BlockScopeType = 2
SwitchScopeType = 3
CaseScopeType = 4
Trait Implementations§
Source§impl Clone for BNScopeType
impl Clone for BNScopeType
Source§fn clone(&self) -> BNScopeType
fn clone(&self) -> BNScopeType
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 BNScopeType
Source§impl Debug for BNScopeType
impl Debug for BNScopeType
impl Eq for BNScopeType
Source§impl Hash for BNScopeType
impl Hash for BNScopeType
Source§impl PartialEq for BNScopeType
impl PartialEq for BNScopeType
Source§fn eq(&self, other: &BNScopeType) -> bool
fn eq(&self, other: &BNScopeType) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for BNScopeType
Auto Trait Implementations§
impl Freeze for BNScopeType
impl RefUnwindSafe for BNScopeType
impl Send for BNScopeType
impl Sync for BNScopeType
impl Unpin for BNScopeType
impl UnsafeUnpin for BNScopeType
impl UnwindSafe for BNScopeType
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