Enum syntex_syntax::ast::BlockCheckMode [] [src]

pub enum BlockCheckMode {
    DefaultBlock,
    UnsafeBlock(UnsafeSource),
}

Variants

DefaultBlock
UnsafeBlock

Trait Implementations

Derived Implementations

impl Copy for BlockCheckMode

impl Debug for BlockCheckMode

fn fmt(&self, __arg_0: &mut Formatter) -> Result

impl Hash for BlockCheckMode

fn hash<__H: Hasher>(&self, __arg_0: &mut __H)

fn hash_slice<H>(data: &[Self], state: &mut H) where H: Hasher

impl Decodable for BlockCheckMode

fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<BlockCheckMode, __D::Error>

impl Encodable for BlockCheckMode

fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>

impl Eq for BlockCheckMode

impl PartialEq for BlockCheckMode

fn eq(&self, __arg_0: &BlockCheckMode) -> bool

fn ne(&self, __arg_0: &BlockCheckMode) -> bool

impl Clone for BlockCheckMode

fn clone(&self) -> BlockCheckMode

fn clone_from(&mut self, source: &Self)