pub struct FunctionBody {
pub expressions: IndexMap<NodeId, ExpressionAttributes>,
pub matches: IndexMap<NodeId, PatternMatrix>,
pub var_types: IndexMap<NodeId, TypeId>,
pub calls: IndexMap<NodeId, CallType>,
pub spans: HashMap<NodeId, Span>,
}
Fields§
§expressions: IndexMap<NodeId, ExpressionAttributes>
§matches: IndexMap<NodeId, PatternMatrix>
§var_types: IndexMap<NodeId, TypeId>
§calls: IndexMap<NodeId, CallType>
§spans: HashMap<NodeId, Span>
Trait Implementations§
Source§impl Clone for FunctionBody
impl Clone for FunctionBody
Source§fn clone(&self) -> FunctionBody
fn clone(&self) -> FunctionBody
Returns a copy 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 FunctionBody
impl Debug for FunctionBody
Source§impl Default for FunctionBody
impl Default for FunctionBody
Source§fn default() -> FunctionBody
fn default() -> FunctionBody
Returns the “default value” for a type. Read more
Source§impl PartialEq for FunctionBody
impl PartialEq for FunctionBody
impl Eq for FunctionBody
impl StructuralPartialEq for FunctionBody
Auto Trait Implementations§
impl Freeze for FunctionBody
impl RefUnwindSafe for FunctionBody
impl !Send for FunctionBody
impl !Sync for FunctionBody
impl Unpin for FunctionBody
impl UnwindSafe for FunctionBody
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Checks if this value is equivalent to the given key. Read more
§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key
and return true
if they are equal.