#[repr(u32)]pub enum FuncParamAttr {
Zext = 0,
Sext = 1,
ByVal = 2,
Sret = 3,
NoAlias = 4,
NoCapture = 5,
NoWrite = 6,
NoReadWrite = 7,
}
Variants§
Implementations§
Source§impl FuncParamAttr
impl FuncParamAttr
pub fn from(val: u32) -> Option<FuncParamAttr>
Trait Implementations§
Source§impl Clone for FuncParamAttr
impl Clone for FuncParamAttr
Source§fn clone(&self) -> FuncParamAttr
fn clone(&self) -> FuncParamAttr
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 FuncParamAttr
impl Debug for FuncParamAttr
Source§impl Hash for FuncParamAttr
impl Hash for FuncParamAttr
Source§impl PartialEq for FuncParamAttr
impl PartialEq for FuncParamAttr
impl Copy for FuncParamAttr
impl StructuralPartialEq for FuncParamAttr
Auto Trait Implementations§
impl Freeze for FuncParamAttr
impl RefUnwindSafe for FuncParamAttr
impl Send for FuncParamAttr
impl Sync for FuncParamAttr
impl Unpin for FuncParamAttr
impl UnwindSafe for FuncParamAttr
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)