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 ArgAttributespub fn new() -> Self[src]
pub fn new() -> Selfpub fn set(&mut self, attr: ArgAttribute) -> &mut Self[src]
pub fn set(&mut self, attr: ArgAttribute) -> &mut Selfpub fn contains(&self, attr: ArgAttribute) -> bool[src]
pub fn contains(&self, attr: ArgAttribute) -> boolTrait Implementations
impl Copy for ArgAttributes[src]
impl Copy for ArgAttributesimpl Clone for ArgAttributes[src]
impl Clone for ArgAttributesfn clone(&self) -> ArgAttributes[src]
fn clone(&self) -> ArgAttributesReturns 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 ArgAttributesfn eq(&self, other: &ArgAttributes) -> bool[src]
fn eq(&self, other: &ArgAttributes) -> boolThis 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) -> boolThis method tests for !=.
impl Eq for ArgAttributes[src]
impl Eq for ArgAttributesimpl Debug for ArgAttributes[src]
impl Debug for ArgAttributesAuto Trait Implementations
impl Send for ArgAttributes
impl Send for ArgAttributesimpl Sync for ArgAttributes
impl Sync for ArgAttributes