Struct rustc::hir::TransFnAttrs
[−]
[src]
pub struct TransFnAttrs { pub flags: TransFnAttrFlags, 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: TransFnAttrFlags
🔬 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 TransFnAttrs
[src]
impl TransFnAttrs
pub fn new() -> TransFnAttrs
[src]
pub fn new() -> TransFnAttrs
🔬 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 TransFnAttrs
[src]
impl Clone for TransFnAttrs
fn clone(&self) -> TransFnAttrs
[src]
fn clone(&self) -> TransFnAttrs
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 TransFnAttrs
[src]
impl Encodable for TransFnAttrs
fn encode<__S: Encoder>(&self, __arg_0: &mut __S) -> Result<(), __S::Error>
[src]
fn encode<__S: Encoder>(&self, __arg_0: &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 TransFnAttrs
[src]
impl Decodable for TransFnAttrs
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<TransFnAttrs, __D::Error>
[src]
fn decode<__D: Decoder>(__arg_0: &mut __D) -> Result<TransFnAttrs, __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 TransFnAttrs
[src]
impl Hash for TransFnAttrs
fn hash<__H: Hasher>(&self, __arg_0: &mut __H)
[src]
fn hash<__H: Hasher>(&self, __arg_0: &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 TransFnAttrs
[src]
impl<'hir> HashStable<StableHashingContext<'hir>> for TransFnAttrs
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 TransFnAttrs
impl !Send for TransFnAttrs
impl !Sync for TransFnAttrs
impl !Sync for TransFnAttrs