Struct syn::LitBool[][src]

pub struct LitBool {
    pub value: bool,
    pub span: Span,
}

A boolean literal: true or false.

This type is available if Syn is built with the "derive" or "full" feature.

Fields

Trait Implementations

impl Synom for LitBool
[src]

A short name of the type being parsed. Read more

impl ToTokens for LitBool
[src]

Write self to the given Tokens. Read more

Convert self directly into a Tokens object. Read more

impl Clone for LitBool
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl From<LitBool> for Lit
[src]

Performs the conversion.

Auto Trait Implementations

impl !Send for LitBool

impl !Sync for LitBool