pub struct SdbType { /* private fields */ }Implementations§
Source§impl SdbType
impl SdbType
pub fn try_eq(&self, rhs: &Self) -> Result<bool, SdbError>
pub fn is_class_type(&self) -> Result<bool, SdbError>
pub fn is_reference_type(&self) -> Result<bool, SdbError>
pub fn alignment(&self) -> Result<usize, SdbError>
pub fn has_unaligned_fields(&self) -> Result<bool, SdbError>
pub fn is_non_trivial_for_calls(&self) -> Result<bool, SdbError>
pub fn get_parameter_classes(&self) -> Result<[ParameterClass; 2], SdbError>
pub fn new(die: Rc<Die>) -> Self
pub fn new_from_info(info: SdbTypeInfo) -> Self
pub fn new_builtin(builtin_type: BuiltinType) -> Self
pub fn get_die(&self) -> Result<Rc<Die>, SdbError>
pub fn byte_size(&self) -> Result<usize, SdbError>
pub fn is_char_type(&self) -> Result<bool, SdbError>
pub fn strip_cv_typedef(&self) -> Result<Self, SdbError>
pub fn strip_cvref_typedef(&self) -> Result<Self, SdbError>
pub fn strip_all(&self) -> Result<Self, SdbError>
pub fn get_builtin_type(&self) -> Result<BuiltinType, SdbError>
pub fn is_from_dwarf(&self) -> bool
Trait Implementations§
impl Eq for SdbType
Auto Trait Implementations§
impl !Freeze for SdbType
impl !RefUnwindSafe for SdbType
impl !Send for SdbType
impl !Sync for SdbType
impl Unpin for SdbType
impl !UnwindSafe for SdbType
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.