pub struct DIVariable { /* private fields */ }
Implementations§
Methods from Deref<Target = MDNode>§
pub unsafe fn dispose_temporary_md_node(&self)
Trait Implementations§
Source§impl Deref for DIVariable
impl Deref for DIVariable
Source§impl MetadataKind for DIVariable
impl MetadataKind for DIVariable
fn match_kind(kind: &LLVMMetadataKind) -> bool
unsafe fn from_check_kind<'r>(ptr: *mut LLVMOpaqueMetadata) -> Option<&'r Self>
Source§impl Opaque for DIVariable
impl Opaque for DIVariable
type Inner = LLVMOpaqueMetadata
Source§unsafe fn try_from_raw<'r>(ptr: *mut Self::Inner) -> Option<&'r Self>
unsafe fn try_from_raw<'r>(ptr: *mut Self::Inner) -> Option<&'r Self>
Try to create ref from nonnull raw pointer and check cond.
Source§unsafe fn from_raw<'r>(ptr: *mut Self::Inner) -> &'r Self
unsafe fn from_raw<'r>(ptr: *mut Self::Inner) -> &'r Self
Try to create ref from nonnull raw pointer but don’t check cond.
Source§unsafe fn from_ptr<'r>(ptr: *mut Self::Inner) -> Option<&'r Self>
unsafe fn from_ptr<'r>(ptr: *mut Self::Inner) -> Option<&'r Self>
Try to create ref from nullable raw pointer.
Source§unsafe fn cast_unchecked<T: Opaque<Inner = Self::Inner>>(&self) -> &T
unsafe fn cast_unchecked<T: Opaque<Inner = Self::Inner>>(&self) -> &T
Cast to target but don’t check cond.
fn cast<T: Opaque<Inner = Self::Inner>>(&self) -> &T
Auto Trait Implementations§
impl !Freeze for DIVariable
impl !RefUnwindSafe for DIVariable
impl Send for DIVariable
impl !Sync for DIVariable
impl !Unpin for DIVariable
impl UnwindSafe for DIVariable
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