pub struct ForeignModule {
pub def_id: ForeignModuleDef,
pub abi: Abi,
}
Fields§
§def_id: ForeignModuleDef
§abi: Abi
Implementations§
Source§impl ForeignModule
impl ForeignModule
pub fn items(&self) -> Vec<ForeignDef>
Auto Trait Implementations§
impl Freeze for ForeignModule
impl RefUnwindSafe for ForeignModule
impl Send for ForeignModule
impl Sync for ForeignModule
impl Unpin for ForeignModule
impl UnwindSafe for ForeignModule
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more
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: 16 bytes