Struct TemplateAlias  
pub struct TemplateAlias<'a> { /* private fields */ }Expand description
This structure represents a DW_TAG_template_alias
Implementations§
§impl TemplateAlias<'_>
 
impl TemplateAlias<'_>
pub fn underlying_type(&self) -> Option<Type<'_>>
pub fn underlying_type(&self) -> Option<Type<'_>>
The underlying type aliased by this type.
pub fn parameters(&self) -> ParametersIt<'_> ⓘ
pub fn parameters(&self) -> ParametersIt<'_> ⓘ
Parameters associated with the underlying template
Trait Implementations§
§impl DwarfType for TemplateAlias<'_>
 
impl DwarfType for TemplateAlias<'_>
§fn name(&self) -> Result<String, Error>
 
fn name(&self) -> Result<String, Error>
Return the type’s name using either 
DW_AT_name or DW_AT_picture_string (if any)§fn size(&self) -> Result<u64, Error>
 
fn size(&self) -> Result<u64, Error>
Return the size of the type or an error if it can’t be computed. Read more
§fn location(&self) -> DebugLocation
 
fn location(&self) -> DebugLocation
Return the debug location where this type is defined.
§fn is_unspecified(&self) -> bool
 
fn is_unspecified(&self) -> bool
Whether this type is a 
DW_TAG_unspecified_type.Auto Trait Implementations§
impl<'a> Freeze for TemplateAlias<'a>
impl<'a> !RefUnwindSafe for TemplateAlias<'a>
impl<'a> !Send for TemplateAlias<'a>
impl<'a> !Sync for TemplateAlias<'a>
impl<'a> Unpin for TemplateAlias<'a>
impl<'a> UnwindSafe for TemplateAlias<'a>
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