Struct leo_ast::functions::output::FunctionOutput
source · pub struct FunctionOutput {
pub mode: Mode,
pub type_: Type,
pub span: Span,
}Expand description
A function output.
Fields§
§mode: ModeThe mode of the function output.
type_: TypeThe type of the function output.
span: SpanThe parameters span from any annotations to its type.
Trait Implementations§
source§impl Clone for FunctionOutput
impl Clone for FunctionOutput
source§fn clone(&self) -> FunctionOutput
fn clone(&self) -> FunctionOutput
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 FunctionOutput
impl Debug for FunctionOutput
source§impl<'de> Deserialize<'de> for FunctionOutput
impl<'de> Deserialize<'de> for FunctionOutput
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 Display for FunctionOutput
impl Display for FunctionOutput
source§impl Node for FunctionOutput
impl Node for FunctionOutput
source§impl PartialEq<FunctionOutput> for FunctionOutput
impl PartialEq<FunctionOutput> for FunctionOutput
source§fn eq(&self, other: &FunctionOutput) -> bool
fn eq(&self, other: &FunctionOutput) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl Serialize for FunctionOutput
impl Serialize for FunctionOutput
impl Eq for FunctionOutput
impl StructuralEq for FunctionOutput
impl StructuralPartialEq for FunctionOutput
Auto Trait Implementations§
impl RefUnwindSafe for FunctionOutput
impl Send for FunctionOutput
impl Sync for FunctionOutput
impl Unpin for FunctionOutput
impl UnwindSafe for FunctionOutput
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<Q, K> Equivalent<K> for Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§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 Qwhere
Q: Eq + ?Sized,
K: Borrow<Q> + ?Sized,
impl<Q, K> Equivalent<K> for Qwhere Q: Eq + ?Sized, K: Borrow<Q> + ?Sized,
§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.