Struct pdb::TypeProperties
source · [−]pub struct TypeProperties(_);
Implementations
sourceimpl TypeProperties
impl TypeProperties
sourcepub fn constructors(self) -> bool
pub fn constructors(self) -> bool
Indicates if a type has constructors or destructors.
sourcepub fn overloaded_operators(self) -> bool
pub fn overloaded_operators(self) -> bool
Indicates if a type has any overloaded operators.
sourcepub fn is_nested_type(self) -> bool
pub fn is_nested_type(self) -> bool
Indicates if a type is a nested type, e.g. a union
defined inside a class
.
sourcepub fn contains_nested_types(self) -> bool
pub fn contains_nested_types(self) -> bool
Indicates if a type contains nested types.
sourcepub fn overloaded_assignment(self) -> bool
pub fn overloaded_assignment(self) -> bool
Indicates if a class has overloaded the assignment operator.
pub fn overloaded_casting(self) -> bool
sourcepub fn forward_reference(self) -> bool
pub fn forward_reference(self) -> bool
Indicates if a type is a forward reference, i.e. an incomplete Type that serves as a placeholder until a complete Type can be built. This is necessary for e.g. self-referential data structures, but other more common declaration/definition idioms can cause forward references too.
pub fn scoped_definition(self) -> bool
pub fn has_unique_name(self) -> bool
pub fn sealed(self) -> bool
pub fn hfa(self) -> u8
pub fn intrinsic_type(self) -> bool
pub fn mocom(self) -> u8
Trait Implementations
sourceimpl Clone for TypeProperties
impl Clone for TypeProperties
sourcefn clone(&self) -> TypeProperties
fn clone(&self) -> TypeProperties
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 TypeProperties
impl Debug for TypeProperties
sourceimpl PartialEq<TypeProperties> for TypeProperties
impl PartialEq<TypeProperties> for TypeProperties
sourcefn eq(&self, other: &TypeProperties) -> bool
fn eq(&self, other: &TypeProperties) -> bool
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
sourcefn ne(&self, other: &TypeProperties) -> bool
fn ne(&self, other: &TypeProperties) -> bool
This method tests for !=
.
impl Copy for TypeProperties
impl Eq for TypeProperties
impl StructuralEq for TypeProperties
impl StructuralPartialEq for TypeProperties
Auto Trait Implementations
impl RefUnwindSafe for TypeProperties
impl Send for TypeProperties
impl Sync for TypeProperties
impl Unpin for TypeProperties
impl UnwindSafe for TypeProperties
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