pub struct NamedMetadataNodeRef(/* private fields */);
Expand description
Named Metadata Node. Used to associate metadata with a module in a way that is identifiable by a name. These nodes can be used for various purposes, such as attaching additional information to a module that can be used by the compiler or other tools processing the LLVM IR.
Implementations§
Source§impl NamedMetadataNodeRef
impl NamedMetadataNodeRef
Sourcepub fn get_next(&self) -> Option<Self>
pub fn get_next(&self) -> Option<Self>
Advance a NamedMetaDataNode
iterator to the next NamedMetaDataNode
.
Returns NULL if the iterator was already at the end and there are no more named metadata nodes.
Sourcepub fn get_previous(&self) -> Option<Self>
pub fn get_previous(&self) -> Option<Self>
Decrement a NamedMetaDataNode
iterator to the previous NamedMetaDataNode
.
Returns NULL if the iterator was already at the beginning and there are no previously named metadata nodes.
Trait Implementations§
Source§impl Debug for NamedMetadataNodeRef
impl Debug for NamedMetadataNodeRef
Source§impl From<*mut LLVMOpaqueNamedMDNode> for NamedMetadataNodeRef
impl From<*mut LLVMOpaqueNamedMDNode> for NamedMetadataNodeRef
Source§fn from(value: LLVMNamedMDNodeRef) -> Self
fn from(value: LLVMNamedMDNodeRef) -> Self
Converts to this type from the input type.
Auto Trait Implementations§
impl Freeze for NamedMetadataNodeRef
impl RefUnwindSafe for NamedMetadataNodeRef
impl !Send for NamedMetadataNodeRef
impl !Sync for NamedMetadataNodeRef
impl Unpin for NamedMetadataNodeRef
impl UnwindSafe for NamedMetadataNodeRef
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