pub enum ExternalDeclaration {
FunctionDefinition(FunctionDefinition),
Declaration(Declaration),
}Expand description
External declaration
Variants§
Trait Implementations§
Source§impl Clone for ExternalDeclaration
impl Clone for ExternalDeclaration
Source§fn clone(&self) -> ExternalDeclaration
fn clone(&self) -> ExternalDeclaration
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for ExternalDeclaration
impl Debug for ExternalDeclaration
Source§impl<'de> Deserialize<'de> for ExternalDeclaration
impl<'de> Deserialize<'de> for ExternalDeclaration
Source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl PartialEq for ExternalDeclaration
impl PartialEq for ExternalDeclaration
Source§impl Serialize for ExternalDeclaration
impl Serialize for ExternalDeclaration
impl StructuralPartialEq for ExternalDeclaration
Auto Trait Implementations§
impl Freeze for ExternalDeclaration
impl RefUnwindSafe for ExternalDeclaration
impl Send for ExternalDeclaration
impl Sync for ExternalDeclaration
impl Unpin for ExternalDeclaration
impl UnwindSafe for ExternalDeclaration
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