Enum llvm_ir::function::ParameterAttribute
source · pub enum ParameterAttribute {
}
Expand description
ParameterAttribute
s can apply to function parameters as well as function return types.
See LLVM 14 docs on Parameter Attributes
Variants§
ZeroExt
SignExt
InReg
ByVal
InAlloca
SRet
Alignment(u64)
NoAlias
NoCapture
NoFree
Nest
Returned
NonNull
Dereferenceable(u64)
DereferenceableOrNull(u64)
SwiftSelf
SwiftError
ImmArg
StringAttribute
UnknownAttribute
Trait Implementations§
source§impl Clone for ParameterAttribute
impl Clone for ParameterAttribute
source§fn clone(&self) -> ParameterAttribute
fn clone(&self) -> ParameterAttribute
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for ParameterAttribute
impl Debug for ParameterAttribute
source§impl PartialEq for ParameterAttribute
impl PartialEq for ParameterAttribute
source§fn eq(&self, other: &ParameterAttribute) -> bool
fn eq(&self, other: &ParameterAttribute) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Eq for ParameterAttribute
impl StructuralPartialEq for ParameterAttribute
Auto Trait Implementations§
impl RefUnwindSafe for ParameterAttribute
impl Send for ParameterAttribute
impl Sync for ParameterAttribute
impl Unpin for ParameterAttribute
impl UnwindSafe for ParameterAttribute
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