Enum panopticon_core::il::Lvalue [] [src]

pub enum Lvalue {
    Undefined,
    Variable {
        name: Cow<'static, str>,
        subscript: Option<usize>,
        size: usize,
    },
}

A writeable RREIL value.

Variants

Undefined value of unknown length

Variable reference

Fields of Variable

Variable name. Names starting with "__" are reserved.

SSA subscript. This can be set to None in most cases.

Size of the variable in bits.

Methods

impl Lvalue
[src]

[src]

Create a new Lvalue from Rvalue rv. Returns None if rv is a constant.

[src]

Returns a new Rvalue with the first s starting at o.

[src]

Returns the size of the value in bits or None if its undefined.

Trait Implementations

impl From<Lvalue> for Rvalue
[src]

[src]

Performs the conversion.

impl Clone for Lvalue
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl PartialEq for Lvalue
[src]

[src]

This method tests for self and other values to be equal, and is used by ==. Read more

[src]

This method tests for !=.

impl Eq for Lvalue
[src]

impl Debug for Lvalue
[src]

[src]

Formats the value using the given formatter. Read more

impl Hash for Lvalue
[src]

[src]

Feeds this value into the given [Hasher]. Read more

1.3.0
[src]

Feeds a slice of this type into the given [Hasher]. Read more

impl PartialOrd for Lvalue
[src]

[src]

This method returns an ordering between self and other values if one exists. Read more

[src]

This method tests less than (for self and other) and is used by the < operator. Read more

[src]

This method tests less than or equal to (for self and other) and is used by the <= operator. Read more

[src]

This method tests greater than (for self and other) and is used by the > operator. Read more

[src]

This method tests greater than or equal to (for self and other) and is used by the >= operator. Read more

impl Ord for Lvalue
[src]

[src]

This method returns an Ordering between self and other. Read more

1.21.0
[src]

Compares and returns the maximum of two values. Read more

1.21.0
[src]

Compares and returns the minimum of two values. Read more

impl Display for Lvalue
[src]

[src]

Formats the value using the given formatter. Read more

impl Arbitrary for Lvalue
[src]

[src]

[src]