pub_just::assignment

Type Alias Assignment

Source
pub type Assignment<'src> = Binding<'src, Expression<'src>>;
Expand description

An assignment, e.g foo := bar

Aliased Type§

struct Assignment<'src> {
    pub constant: bool,
    pub export: bool,
    pub file_depth: u32,
    pub name: Name<'src>,
    pub private: bool,
    pub value: Expression<'src>,
}

Fields§

§constant: bool§export: bool§file_depth: u32§name: Name<'src>§private: bool§value: Expression<'src>

Trait Implementations§

Source§

impl<'src> Display for Assignment<'src>

Source§

fn fmt(&self, f: &mut Formatter<'_>) -> Result

Formats the value using the given formatter. Read more