Struct rustc_target::abi::call::ArgAttributes [−][src]
pub struct ArgAttributes { pub regular: ArgAttribute, pub pointee_size: Size, pub pointee_align: Option<Align>, }
A compact representation of LLVM attributes (at least those relevant for this module) that can be manipulated without interacting with LLVM's Attribute machinery.
Fields
regular: ArgAttribute
pointee_size: Size
pointee_align: Option<Align>
Methods
impl ArgAttributes
[src]
impl ArgAttributes
pub fn new() -> Self
[src]
pub fn new() -> Self
pub fn set(&mut self, attr: ArgAttribute) -> &mut Self
[src]
pub fn set(&mut self, attr: ArgAttribute) -> &mut Self
pub fn contains(&self, attr: ArgAttribute) -> bool
[src]
pub fn contains(&self, attr: ArgAttribute) -> bool
Trait Implementations
impl Copy for ArgAttributes
[src]
impl Copy for ArgAttributes
impl Clone for ArgAttributes
[src]
impl Clone for ArgAttributes
fn clone(&self) -> ArgAttributes
[src]
fn clone(&self) -> ArgAttributes
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
1.0.0
[src]Performs copy-assignment from source
. Read more
impl PartialEq for ArgAttributes
[src]
impl PartialEq for ArgAttributes
fn eq(&self, other: &ArgAttributes) -> bool
[src]
fn eq(&self, other: &ArgAttributes) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, other: &ArgAttributes) -> bool
[src]
fn ne(&self, other: &ArgAttributes) -> bool
This method tests for !=
.
impl Eq for ArgAttributes
[src]
impl Eq for ArgAttributes
impl Debug for ArgAttributes
[src]
impl Debug for ArgAttributes
Auto Trait Implementations
impl Send for ArgAttributes
impl Send for ArgAttributes
impl Sync for ArgAttributes
impl Sync for ArgAttributes