pub enum LocalKind {
Input,
Binding,
Output,
Consumer,
}Expand description
The role of a value in one function invocation. 一个函数调用中局部值的角色。
Variants§
Input
A value passed into the invocation. 调用传入的值。
Binding
A value bound inside the invocation body. 在调用体内绑定的值。
Output
A value the invocation returns. 调用返回的值。
Consumer
A value handed to a function as one of its parameters. 作为某个函数参数被消费的值。
Implementations§
Trait Implementations§
impl Copy for LocalKind
impl Eq for LocalKind
impl StructuralPartialEq for LocalKind
Auto Trait Implementations§
impl Freeze for LocalKind
impl RefUnwindSafe for LocalKind
impl Send for LocalKind
impl Sync for LocalKind
impl Unpin for LocalKind
impl UnsafeUnpin for LocalKind
impl UnwindSafe for LocalKind
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§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.