Enum llvm_ir::types::NamedStructDef
source · [−]pub enum NamedStructDef {
Opaque,
Defined(TypeRef),
}
Variants
Opaque
An opaque struct type; see LLVM 14 docs on Opaque Structure Types.
Defined(TypeRef)
A struct type with a definition. The TypeRef
here is guaranteed to be to a StructType
variant.
Trait Implementations
sourceimpl Clone for NamedStructDef
impl Clone for NamedStructDef
sourcefn clone(&self) -> NamedStructDef
fn clone(&self) -> NamedStructDef
Returns a copy of the value. Read more
1.0.0 · sourcefn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
sourceimpl Debug for NamedStructDef
impl Debug for NamedStructDef
Auto Trait Implementations
impl RefUnwindSafe for NamedStructDef
impl Send for NamedStructDef
impl Sync for NamedStructDef
impl Unpin for NamedStructDef
impl UnwindSafe for NamedStructDef
Blanket Implementations
sourceimpl<T> BorrowMut<T> for T where
T: ?Sized,
impl<T> BorrowMut<T> for T where
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