pub enum ExternalDecl {
FunctionDef(FunctionDef),
Declaration(Declaration),
}Expand description
外部宣言
Variants§
Implementations§
Trait Implementations§
Source§impl Clone for ExternalDecl
impl Clone for ExternalDecl
Source§fn clone(&self) -> ExternalDecl
fn clone(&self) -> ExternalDecl
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreAuto Trait Implementations§
impl Freeze for ExternalDecl
impl RefUnwindSafe for ExternalDecl
impl Send for ExternalDecl
impl Sync for ExternalDecl
impl Unpin for ExternalDecl
impl UnsafeUnpin for ExternalDecl
impl UnwindSafe for ExternalDecl
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