pub struct ExternTarget {
pub target: Ident,
pub decls: Vec<ExternDecl>,
}Expand description
A target block inside extern.
Fields§
§target: Identts, go or rust (anything else is reported).
decls: Vec<ExternDecl>The declarations.
Trait Implementations§
Source§impl Clone for ExternTarget
impl Clone for ExternTarget
Source§impl Debug for ExternTarget
impl Debug for ExternTarget
Source§impl PartialEq for ExternTarget
impl PartialEq for ExternTarget
impl StructuralPartialEq for ExternTarget
Auto Trait Implementations§
impl Freeze for ExternTarget
impl RefUnwindSafe for ExternTarget
impl Send for ExternTarget
impl Sync for ExternTarget
impl Unpin for ExternTarget
impl UnsafeUnpin for ExternTarget
impl UnwindSafe for ExternTarget
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