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
sourceimpl Clone for ParameterAttribute
impl Clone for ParameterAttribute
sourcefn clone(&self) -> ParameterAttribute
fn clone(&self) -> ParameterAttribute
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 ParameterAttribute
impl Debug for ParameterAttribute
sourceimpl PartialEq<ParameterAttribute> for ParameterAttribute
impl PartialEq<ParameterAttribute> for ParameterAttribute
sourcefn 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 ==
. Read more
impl Eq for ParameterAttribute
impl StructuralEq 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
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