Struct rustc::hir::CodegenFnAttrs [−][src]
pub struct CodegenFnAttrs { pub flags: CodegenFnAttrFlags, pub inline: InlineAttr, pub export_name: Option<Symbol>, pub target_features: Vec<Symbol>, pub linkage: Option<Linkage>, }
🔬 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?
Fields
flags: CodegenFnAttrFlags
🔬 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?
inline: InlineAttr
🔬 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?
export_name: Option<Symbol>
🔬 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?
target_features: Vec<Symbol>
🔬 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?
linkage: Option<Linkage>
🔬 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 CodegenFnAttrs
[src]
impl CodegenFnAttrs
pub fn new() -> CodegenFnAttrs
[src]
pub fn new() -> CodegenFnAttrs
🔬 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 requests_inline(&self) -> bool
[src]
pub fn requests_inline(&self) -> 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?
True if #[inline]
or #[inline(always)]
is present.
pub fn contains_extern_indicator(&self) -> bool
[src]
pub fn contains_extern_indicator(&self) -> 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?
True if #[no_mangle]
or #[export_name(...)]
is present.
Trait Implementations
impl Clone for CodegenFnAttrs
[src]
impl Clone for CodegenFnAttrs
fn clone(&self) -> CodegenFnAttrs
[src]
fn clone(&self) -> CodegenFnAttrs
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)
Performs copy-assignment from source
. Read more
impl Encodable for CodegenFnAttrs
[src]
impl Encodable for CodegenFnAttrs
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
[src]
fn encode<__S: Encoder>(&self, s: &mut __S) -> Result<(), __S::Error>
🔬 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?
impl Decodable for CodegenFnAttrs
[src]
impl Decodable for CodegenFnAttrs
fn decode<__D: Decoder>(d: &mut __D) -> Result<CodegenFnAttrs, __D::Error>
[src]
fn decode<__D: Decoder>(d: &mut __D) -> Result<CodegenFnAttrs, __D::Error>
🔬 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?
impl Hash for CodegenFnAttrs
[src]
impl Hash for CodegenFnAttrs
fn hash<__H: Hasher>(&self, state: &mut __H)
[src]
fn hash<__H: Hasher>(&self, state: &mut __H)
Feeds this value into the given [Hasher
]. Read more
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
1.3.0[src]
fn hash_slice<H>(data: &[Self], state: &mut H) where
H: Hasher,
Feeds a slice of this type into the given [Hasher
]. Read more
impl<'hir> HashStable<StableHashingContext<'hir>> for CodegenFnAttrs
[src]
impl<'hir> HashStable<StableHashingContext<'hir>> for CodegenFnAttrs
fn hash_stable<W: StableHasherResult>(
&self,
hcx: &mut StableHashingContext<'hir>,
hasher: &mut StableHasher<W>
)
[src]
fn hash_stable<W: StableHasherResult>(
&self,
hcx: &mut StableHashingContext<'hir>,
hasher: &mut StableHasher<W>
)
🔬 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?
Auto Trait Implementations
impl !Send for CodegenFnAttrs
impl !Send for CodegenFnAttrs
impl !Sync for CodegenFnAttrs
impl !Sync for CodegenFnAttrs