pub struct VariableReference {
pub expr: Handle<Expression>,
pub load: bool,
pub mutable: bool,
pub constant: Option<(Handle<Constant>, Handle<Type>)>,
pub entry_arg: Option<usize>,
}
Fields§
§expr: Handle<Expression>
§load: bool
Whether the variable is of a pointer type (and needs loading) or not
mutable: bool
Whether the value of the variable can be changed or not
constant: Option<(Handle<Constant>, Handle<Type>)>
§entry_arg: Option<usize>
Trait Implementations§
source§impl Clone for VariableReference
impl Clone for VariableReference
source§fn clone(&self) -> VariableReference
fn clone(&self) -> VariableReference
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl Freeze for VariableReference
impl RefUnwindSafe for VariableReference
impl Send for VariableReference
impl Sync for VariableReference
impl Unpin for VariableReference
impl UnwindSafe for VariableReference
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)