Struct gccjit::RValue [] [src]

pub struct RValue<'ctx> { /* fields omitted */ }

An RValue is a value that may or may not have a storage address in gccjit. RValues can be dereferenced, used for field accesses, and are the parameters given to a majority of the gccjit API calls.

Methods

impl<'ctx> RValue<'ctx>
[src]

Gets the type of this RValue.

Given an RValue x and a Field f, returns an RValue representing C's x.f.

Given an RValue x and a Field f, returns an LValue representing C's x->f.

Given a RValue x, returns an RValue that represents *x.

Trait Implementations

impl<'ctx> Copy for RValue<'ctx>
[src]

impl<'ctx> Clone for RValue<'ctx>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'ctx> ToObject<'ctx> for RValue<'ctx>
[src]

impl<'ctx> Debug for RValue<'ctx>
[src]

Formats the value using the given formatter.

impl<'ctx> ToRValue<'ctx> for RValue<'ctx>
[src]

impl<'ctx> Add for RValue<'ctx>
[src]

The resulting type after applying the + operator

The method for the + operator

impl<'ctx> Sub for RValue<'ctx>
[src]

The resulting type after applying the - operator

The method for the - operator

impl<'ctx> Mul for RValue<'ctx>
[src]

The resulting type after applying the * operator

The method for the * operator

impl<'ctx> Div for RValue<'ctx>
[src]

The resulting type after applying the / operator

The method for the / operator

impl<'ctx> Rem for RValue<'ctx>
[src]

The resulting type after applying the % operator

The method for the % operator

impl<'ctx> BitAnd for RValue<'ctx>
[src]

The resulting type after applying the & operator

The method for the & operator

impl<'ctx> BitOr for RValue<'ctx>
[src]

The resulting type after applying the | operator

The method for the | operator

impl<'ctx> BitXor for RValue<'ctx>
[src]

The resulting type after applying the ^ operator

The method for the ^ operator

impl<'ctx> Shl<RValue<'ctx>> for RValue<'ctx>
[src]

The resulting type after applying the << operator

The method for the << operator

impl<'ctx> Shr<RValue<'ctx>> for RValue<'ctx>
[src]

The resulting type after applying the >> operator

The method for the >> operator