pub struct IrFunction {
pub name: String,
pub docs: Vec<String>,
pub parameters: Vec<IrFunctionParameter>,
pub branches: Vec<IrFunctionBranch>,
}Fields§
§name: String§docs: Vec<String>§parameters: Vec<IrFunctionParameter>§branches: Vec<IrFunctionBranch>Trait Implementations§
Source§impl Clone for IrFunction
impl Clone for IrFunction
Source§fn clone(&self) -> IrFunction
fn clone(&self) -> IrFunction
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 moreSource§impl Debug for IrFunction
impl Debug for IrFunction
Source§impl PartialEq for IrFunction
impl PartialEq for IrFunction
Source§fn eq(&self, other: &IrFunction) -> bool
fn eq(&self, other: &IrFunction) -> bool
Tests for
self and other values to be equal, and is used by ==.impl Eq for IrFunction
impl StructuralPartialEq for IrFunction
Auto Trait Implementations§
impl Freeze for IrFunction
impl RefUnwindSafe for IrFunction
impl Send for IrFunction
impl Sync for IrFunction
impl Unpin for IrFunction
impl UnsafeUnpin for IrFunction
impl UnwindSafe for IrFunction
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.Source§impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
impl<'p, T> Seq<'p, T> for Twhere
T: Clone,
Source§impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
impl<T, S> SpanWrap<S> for Twhere
S: WrappingSpan<T>,
Source§fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
fn with_span(self, span: S) -> <S as WrappingSpan<Self>>::Spanned
Invokes
WrappingSpan::make_wrapped to wrap an AST node in a span.