Struct rustfmt_nightly::items::Item
source · struct Item<'a> {
unsafety: Unsafe,
abi: Cow<'static, str>,
vis: Option<&'a Visibility>,
body: Vec<BodyElement<'a>>,
span: Span,
}
Fields§
§unsafety: Unsafe
§abi: Cow<'static, str>
§vis: Option<&'a Visibility>
§body: Vec<BodyElement<'a>>
§span: Span
Implementations§
source§impl<'a> Item<'a>
impl<'a> Item<'a>
fn from_foreign_mod(fm: &'a ForeignMod, span: Span, config: &Config) -> Item<'a>
Trait Implementations§
Auto Trait Implementations§
impl<'a> !RefUnwindSafe for Item<'a>
impl<'a> !Send for Item<'a>
impl<'a> !Sync for Item<'a>
impl<'a> Unpin for Item<'a>
impl<'a> !UnwindSafe for Item<'a>
Blanket Implementations§
Layout§
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...)
attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 88 bytes