pub struct TypeProperties(/* private fields */);Implementations§
Source§impl 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§
Source§impl Clone for TypeProperties
impl Clone for TypeProperties
Source§fn clone(&self) -> TypeProperties
fn clone(&self) -> TypeProperties
Returns a duplicate 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 moreSource§impl Debug for TypeProperties
impl Debug for TypeProperties
Source§impl PartialEq for TypeProperties
impl PartialEq for TypeProperties
impl Copy for TypeProperties
impl Eq for TypeProperties
impl StructuralPartialEq for TypeProperties
Auto Trait Implementations§
impl Freeze for TypeProperties
impl RefUnwindSafe for TypeProperties
impl Send for TypeProperties
impl Sync for TypeProperties
impl Unpin for TypeProperties
impl UnwindSafe for TypeProperties
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