pub enum OperandRole {
Input,
Output,
}Expand description
Operand side used in semantic diagnostics.
Variants§
Trait Implementations§
Source§impl Clone for OperandRole
impl Clone for OperandRole
Source§fn clone(&self) -> OperandRole
fn clone(&self) -> OperandRole
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 moreimpl Copy for OperandRole
Source§impl Debug for OperandRole
impl Debug for OperandRole
impl Eq for OperandRole
Source§impl PartialEq for OperandRole
impl PartialEq for OperandRole
Source§fn eq(&self, other: &OperandRole) -> bool
fn eq(&self, other: &OperandRole) -> bool
Tests for
self and other values to be equal, and is used by ==.impl StructuralPartialEq for OperandRole
Auto Trait Implementations§
impl Freeze for OperandRole
impl RefUnwindSafe for OperandRole
impl Send for OperandRole
impl Sync for OperandRole
impl Unpin for OperandRole
impl UnsafeUnpin for OperandRole
impl UnwindSafe for OperandRole
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