pub struct SBType {
pub raw: SBTypeRef,
}
Fields
raw: SBTypeRef
The underlying raw SBTypeRef
.
Implementations
sourceimpl SBType
impl SBType
pub fn is_pointer_type(&self) -> bool
pub fn is_reference_type(&self) -> bool
pub fn is_function_type(&self) -> bool
pub fn is_polymorphic_class(&self) -> bool
pub fn is_array_type(&self) -> bool
pub fn is_vector_type(&self) -> bool
pub fn is_typedef_type(&self) -> bool
pub fn is_anonymous_type(&self) -> bool
pub fn is_scoped_enumeration_type(&self) -> bool
pub fn pointer_type(&self) -> Option<SBType>
pub fn pointee_type(&self) -> Option<SBType>
pub fn reference_type(&self) -> Option<SBType>
pub fn typedefed_type(&self) -> Option<SBType>
pub fn dereferenced_type(&self) -> Option<SBType>
pub fn unqualified_type(&self) -> Option<SBType>
pub fn array_element_type(&self) -> Option<SBType>
pub fn vector_element_type(&self) -> Option<SBType>
pub fn canonical_type(&self) -> Option<SBType>
pub fn enumeration_integer_type(&self) -> Option<SBType>
pub fn basic_type(&self) -> BasicType
pub fn name(&self) -> &str
pub fn display_type_name(&self) -> &str
pub fn type_class(&self) -> TypeClass
Trait Implementations
impl Send for SBType
impl Sync for SBType
Auto Trait Implementations
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
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