Struct pdb::PointerAttributes
source · [−]pub struct PointerAttributes(_);
Implementations
sourceimpl PointerAttributes
impl PointerAttributes
sourcepub fn pointer_kind(self) -> PointerKind
pub fn pointer_kind(self) -> PointerKind
Indicates the type of pointer.
sourcepub fn pointer_mode(self) -> PointerMode
pub fn pointer_mode(self) -> PointerMode
Returns the mode of this pointer.
sourcepub fn pointer_to_member(self) -> bool
pub fn pointer_to_member(self) -> bool
Returns true
if this points to a member (either data or function).
sourcepub fn is_flat_32(self) -> bool
pub fn is_flat_32(self) -> bool
Returns true
if this is a flat 0:32
pointer.
sourcepub fn is_volatile(self) -> bool
pub fn is_volatile(self) -> bool
Returns true
if this pointer is volatile
.
sourcepub fn is_unaligned(self) -> bool
pub fn is_unaligned(self) -> bool
Returns true
if this pointer is unaligned.
sourcepub fn is_restrict(self) -> bool
pub fn is_restrict(self) -> bool
Returns true
if this pointer is restricted (allow aggressive opts).
sourcepub fn is_reference(self) -> bool
pub fn is_reference(self) -> bool
Is this a C++ reference, as opposed to a C pointer?
Trait Implementations
sourceimpl Clone for PointerAttributes
impl Clone for PointerAttributes
sourcefn clone(&self) -> PointerAttributes
fn clone(&self) -> PointerAttributes
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 PointerAttributes
impl Debug for PointerAttributes
sourceimpl PartialEq<PointerAttributes> for PointerAttributes
impl PartialEq<PointerAttributes> for PointerAttributes
sourcefn eq(&self, other: &PointerAttributes) -> bool
fn eq(&self, other: &PointerAttributes) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &PointerAttributes) -> bool
fn ne(&self, other: &PointerAttributes) -> bool
This method tests for !=
.
impl Copy for PointerAttributes
impl Eq for PointerAttributes
impl StructuralEq for PointerAttributes
impl StructuralPartialEq for PointerAttributes
Auto Trait Implementations
impl RefUnwindSafe for PointerAttributes
impl Send for PointerAttributes
impl Sync for PointerAttributes
impl Unpin for PointerAttributes
impl UnwindSafe for PointerAttributes
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