pub struct AstFunction {
pub meta: Vec<AstMeta>,
pub export: bool,
pub header: AstFunctionHeader,
pub locals: Vec<AstVariable>,
pub ops: Vec<AstBlockOp>,
}
Fields§
§meta: Vec<AstMeta>
§export: bool
§header: AstFunctionHeader
§locals: Vec<AstVariable>
§ops: Vec<AstBlockOp>
Trait Implementations§
Source§impl Clone for AstFunction
impl Clone for AstFunction
Source§fn clone(&self) -> AstFunction
fn clone(&self) -> AstFunction
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 AstFunction
impl Debug for AstFunction
Source§impl<'de> Deserialize<'de> for AstFunction
impl<'de> Deserialize<'de> for AstFunction
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
Auto Trait Implementations§
impl Freeze for AstFunction
impl RefUnwindSafe for AstFunction
impl Send for AstFunction
impl Sync for AstFunction
impl Unpin for AstFunction
impl UnwindSafe for AstFunction
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