Struct pdb::LocalVariableFlags
source · [−]#[non_exhaustive]pub struct LocalVariableFlags {
pub isparam: bool,
pub addrtaken: bool,
pub compgenx: bool,
pub isaggregate: bool,
pub isaliased: bool,
pub isalias: bool,
pub isretvalue: bool,
pub isoptimizedout: bool,
pub isenreg_glob: bool,
pub isenreg_stat: bool,
}
Expand description
Flags for a LocalSymbol
.
Fields (Non-exhaustive)
This struct is marked as non-exhaustive
Non-exhaustive structs could have additional fields added in future. Therefore, non-exhaustive structs cannot be constructed in external crates using the traditional
Struct { .. }
syntax; cannot be matched against without a wildcard ..
; and struct update syntax will not work.isparam: bool
Variable is a parameter.
addrtaken: bool
Address is taken.
compgenx: bool
Variable is compiler generated.
isaggregate: bool
The symbol is splitted in temporaries, which are treated by compiler as independent entities.
isaliased: bool
Variable has multiple simultaneous lifetimes.
isalias: bool
Represents one of the multiple simultaneous lifetimes.
isretvalue: bool
Represents a function return value.
isoptimizedout: bool
Variable has no lifetimes.
isenreg_glob: bool
Variable is an enregistered global.
isenreg_stat: bool
Variable is an enregistered static.
Trait Implementations
sourceimpl Clone for LocalVariableFlags
impl Clone for LocalVariableFlags
sourcefn clone(&self) -> LocalVariableFlags
fn clone(&self) -> LocalVariableFlags
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for LocalVariableFlags
impl Debug for LocalVariableFlags
sourceimpl PartialEq<LocalVariableFlags> for LocalVariableFlags
impl PartialEq<LocalVariableFlags> for LocalVariableFlags
sourcefn eq(&self, other: &LocalVariableFlags) -> bool
fn eq(&self, other: &LocalVariableFlags) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &LocalVariableFlags) -> bool
fn ne(&self, other: &LocalVariableFlags) -> bool
This method tests for !=
.
sourceimpl<'t> TryFromCtx<'t, Endian, [u8]> for LocalVariableFlags
impl<'t> TryFromCtx<'t, Endian, [u8]> for LocalVariableFlags
impl Copy for LocalVariableFlags
impl Eq for LocalVariableFlags
impl StructuralEq for LocalVariableFlags
impl StructuralPartialEq for LocalVariableFlags
Auto Trait Implementations
impl RefUnwindSafe for LocalVariableFlags
impl Send for LocalVariableFlags
impl Sync for LocalVariableFlags
impl Unpin for LocalVariableFlags
impl UnwindSafe for LocalVariableFlags
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more