Struct rustc::ty::layout::call::ArgAttributes [−][src]
pub struct ArgAttributes {
pub regular: ArgAttribute,
pub pointee_size: Size,
pub pointee_align: Option<Align>,
}🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
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
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pointee_size: Size
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pointee_align: Option<Align>
🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Methods
impl ArgAttributes[src]
impl ArgAttributespub fn new() -> ArgAttributes[src]
pub fn new() -> ArgAttributes🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pub fn set(&mut self, attr: ArgAttribute) -> &mut ArgAttributes[src]
pub fn set(&mut self, attr: ArgAttribute) -> &mut ArgAttributes🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
pub fn contains(&self, attr: ArgAttribute) -> bool[src]
pub fn contains(&self, attr: ArgAttribute) -> bool🔬 This is a nightly-only experimental API. (rustc_private)
this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?
Trait Implementations
impl 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)Performs copy-assignment from source. Read more
impl Debug for ArgAttributes[src]
impl Debug for ArgAttributesfn fmt(&self, f: &mut Formatter) -> Result<(), Error>[src]
fn fmt(&self, f: &mut Formatter) -> Result<(), Error>Formats the value using the given formatter. Read more
impl Copy for ArgAttributes[src]
impl Copy for ArgAttributesimpl Eq for ArgAttributes[src]
impl Eq for ArgAttributesfn assert_receiver_is_total_eq(&self)[src]
fn assert_receiver_is_total_eq(&self)impl PartialEq<ArgAttributes> for ArgAttributes[src]
impl PartialEq<ArgAttributes> 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 !=.
Auto Trait Implementations
impl Send for ArgAttributes
impl Send for ArgAttributesimpl Sync for ArgAttributes
impl Sync for ArgAttributes